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_spanningtree/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_spanningtree/main.cpp') 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] != '-') -- cgit v1.3.1-10-gc9f91