From b9fee8b43dc1903ecb08c81405fb83295fc64db9 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 23 Jan 2025 16:35:32 +0000 Subject: Convert debug logging from string concatenation to format strings. When running in normal mode this will prevent a bunch of expensive string concatenation. --- src/modules/m_ident.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_ident.cpp') 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()); } } -- cgit v1.3.1-10-gc9f91