aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/m_ident.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/modules/m_ident.cpp
parentFix the list of supported exemptions. (diff)
downloadinspircd++-b9fee8b43dc1903ecb08c81405fb83295fc64db9.tar.gz
inspircd++-b9fee8b43dc1903ecb08c81405fb83295fc64db9.tar.bz2
inspircd++-b9fee8b43dc1903ecb08c81405fb83295fc64db9.zip
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/modules/m_ident.cpp')
-rw-r--r--src/modules/m_ident.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp
index a35e5eb30..92723fe07 100644
--- a/src/modules/m_ident.cpp
+++ b/src/modules/m_ident.cpp
@@ -347,7 +347,7 @@ public:
}
catch (const ModuleException& e)
{
- ServerInstance->Logs.Debug(MODNAME, "Ident exception: " + e.GetReason());
+ ServerInstance->Logs.Debug(MODNAME, "Ident exception: {}", e.GetReason());
}
}