diff options
| author | 2023-01-23 11:09:17 +0000 | |
|---|---|---|
| committer | 2023-01-23 13:07:53 +0000 | |
| commit | 9db9d5abe4abd975cd8725283f2efcd4bcae5f8e (patch) | |
| tree | 8ba590ee769bdbe5338cfcfecc68a395386c3425 /src/modules/m_chgname.cpp | |
| parent | Replace VAFORMAT/InspIRCd::Format/... with fmt::sprintf. (diff) | |
Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings.
Diffstat (limited to 'src/modules/m_chgname.cpp')
| -rw-r--r-- | src/modules/m_chgname.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_chgname.cpp b/src/modules/m_chgname.cpp index 0c45b5202..eb8248539 100644 --- a/src/modules/m_chgname.cpp +++ b/src/modules/m_chgname.cpp @@ -62,7 +62,7 @@ public: if (IS_LOCAL(dest)) { dest->ChangeRealName(parameters[1]); - ServerInstance->SNO.WriteGlobalSno('a', "%s used CHGNAME to change %s's real name to '%s\x0F'", user->nick.c_str(), dest->nick.c_str(), dest->GetRealName().c_str()); + ServerInstance->SNO.WriteGlobalSno('a', "{} used CHGNAME to change {}'s real name to '{}\x0F'", user->nick, dest->nick, dest->GetRealName()); } return CmdResult::SUCCESS; |
