aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/main.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_spanningtree/main.cpp
parentConvert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings. (diff)
Convert log calls to use fmtlib format strings
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
-rw-r--r--src/modules/m_spanningtree/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp
index 76aed1476..2354f5587 100644
--- a/src/modules/m_spanningtree/main.cpp
+++ b/src/modules/m_spanningtree/main.cpp
@@ -631,7 +631,7 @@ void ModuleSpanningTree::OnUserPostNick(User* user, const std::string& oldnick)
}
else if (!loopCall)
{
- ServerInstance->Logs.Normal(MODNAME, "WARNING: Changed nick of remote user %s from %s to %s TS %lu by ourselves!", user->uuid.c_str(), oldnick.c_str(), user->nick.c_str(), (unsigned long) user->nickchanged);
+ ServerInstance->Logs.Normal(MODNAME, "WARNING: Changed nick of remote user {} from {} to {} TS {} by ourselves!", user->uuid, oldnick, user->nick, user->nickchanged);
}
}
@@ -652,7 +652,7 @@ void ModuleSpanningTree::OnUserKick(User* source, Membership* memb, const std::s
void ModuleSpanningTree::OnPreRehash(User* user, const std::string& parameter)
{
- ServerInstance->Logs.Debug(MODNAME, "OnPreRehash called with param %s", parameter.c_str());
+ ServerInstance->Logs.Debug(MODNAME, "OnPreRehash called with param {}", parameter);
// Send out to other servers
if (!parameter.empty() && parameter[0] != '-')