aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_chgident.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2023-01-23 11:09:17 +0000
committerGravatar Sadie Powell2023-01-23 13:07:53 +0000
commit9db9d5abe4abd975cd8725283f2efcd4bcae5f8e (patch)
tree8ba590ee769bdbe5338cfcfecc68a395386c3425 /src/modules/m_chgident.cpp
parentReplace VAFORMAT/InspIRCd::Format/... with fmt::sprintf. (diff)
Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings.
Diffstat (limited to 'src/modules/m_chgident.cpp')
-rw-r--r--src/modules/m_chgident.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_chgident.cpp b/src/modules/m_chgident.cpp
index dd1b8bcaf..52d409027 100644
--- a/src/modules/m_chgident.cpp
+++ b/src/modules/m_chgident.cpp
@@ -66,7 +66,7 @@ public:
dest->ChangeIdent(parameters[1]);
if (!user->server->IsService())
- ServerInstance->SNO.WriteGlobalSno('a', "%s used CHGIDENT to change %s's ident to '%s'", user->nick.c_str(), dest->nick.c_str(), dest->ident.c_str());
+ ServerInstance->SNO.WriteGlobalSno('a', "{} used CHGIDENT to change {}'s ident to '{}'", user->nick, dest->nick, dest->ident);
}
return CmdResult::SUCCESS;