aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_ident.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-01-23 23:48:09 +0000
committerGravatar Sadie Powell2023-01-24 00:12:57 +0000
commit206d31de85192353d03c74766e80513a87dc49b4 (patch)
tree24fdee802c85c29b66a04901147d019e92e30931 /src/modules/m_ident.cpp
parentConvert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings. (diff)
Convert log calls to use fmtlib format strings
Diffstat (limited to 'src/modules/m_ident.cpp')
-rw-r--r--src/modules/m_ident.cpp6
1 files changed, 3 insertions, 3 deletions
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;