From 206d31de85192353d03c74766e80513a87dc49b4 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 23 Jan 2023 23:48:09 +0000 Subject: Convert log calls to use fmtlib format strings --- src/modules/m_ident.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/modules/m_ident.cpp') diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index 9c338c0e9..e08482d13 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -188,7 +188,7 @@ public: */ if (HasFd()) { - ServerInstance->Logs.Debug(MODNAME, "Close ident socket %d", GetFd()); + ServerInstance->Logs.Debug(MODNAME, "Close ident socket {}", GetFd()); SocketEngine::Close(this); } } @@ -407,8 +407,8 @@ public: { if (klass->config->getBool("requireident") && state.Get(user) != IDENT_FOUND) { - ServerInstance->Logs.Debug("CONNECTCLASS", "The %s connect class is not suitable as it requires an identd response.", - klass->GetName().c_str()); + ServerInstance->Logs.Debug("CONNECTCLASS", "The {} connect class is not suitable as it requires an identd response.", + klass->GetName()); return MOD_RES_DENY; } return MOD_RES_PASSTHRU; -- cgit v1.3.1-10-gc9f91