aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/modules.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h
index 3996ffb8d..50a611437 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -1213,7 +1213,7 @@ public:
} \
catch (const CoreException& _exception_ ## EVENT) \
{ \
- ServerInstance->Logs.Debug("MODULE", _mod->ModuleFile + " threw an exception in " # EVENT ": " + (_exception_ ## EVENT).GetReason()); \
+ ServerInstance->Logs.Debug("MODULE", "{} threw an exception in " # EVENT ": {}", _mod->ModuleFile, (_exception_ ## EVENT).GetReason()); \
} \
} \
} while (false)
@@ -1240,7 +1240,7 @@ public:
} \
catch (const CoreException& _exception_ ## EVENT) \
{ \
- ServerInstance->Logs.Debug("MODULE", _mod->ModuleFile + " threw an exception in " # EVENT ": " + (_exception_ ## EVENT).GetReason()); \
+ ServerInstance->Logs.Debug("MODULE", "{} threw an exception in " # EVENT ": {}", _mod->ModuleFile, (_exception_ ## EVENT).GetReason()); \
} \
} \
} while (false)