aboutsummaryrefslogtreecommitdiff
path: root/src/configreader.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2025-01-23 16:35:32 +0000
committerGravatar Sadie Powell2025-01-23 16:35:32 +0000
commitb9fee8b43dc1903ecb08c81405fb83295fc64db9 (patch)
tree80d4bb49c9a2e0e36be0e348a3900d7bec2b7da5 /src/configreader.cpp
parentFix the list of supported exemptions. (diff)
Convert debug logging from string concatenation to format strings.
When running in normal mode this will prevent a bunch of expensive string concatenation.
Diffstat (limited to 'src/configreader.cpp')
-rw-r--r--src/configreader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 15ddb1409..804406ec4 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -740,7 +740,7 @@ void ConfigReaderThread::OnStop()
{
try
{
- ServerInstance->Logs.Debug("MODULE", "Rehashing " + modname);
+ ServerInstance->Logs.Debug("MODULE", "Rehashing {}", modname);
mod->ReadConfig(status);
}
catch (const CoreException& modex)