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_setname.cpp | |
| parent | Replace VAFORMAT/InspIRCd::Format/... with fmt::sprintf. (diff) | |
Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings.
Diffstat (limited to 'src/modules/m_setname.cpp')
| -rw-r--r-- | src/modules/m_setname.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_setname.cpp b/src/modules/m_setname.cpp index 9b6fe501e..0d50b3882 100644 --- a/src/modules/m_setname.cpp +++ b/src/modules/m_setname.cpp @@ -62,8 +62,8 @@ public: } if (notifyopers) - ServerInstance->SNO.WriteGlobalSno('a', "%s used SETNAME to change their real name to '%s'", - user->nick.c_str(), parameters[0].c_str()); + ServerInstance->SNO.WriteGlobalSno('a', "{} used SETNAME to change their real name to '{}'", + user->nick, parameters[0]); return CmdResult::SUCCESS; } }; |
