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_blockamsg.cpp | |
| parent | Replace VAFORMAT/InspIRCd::Format/... with fmt::sprintf. (diff) | |
Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings.
Diffstat (limited to 'src/modules/m_blockamsg.cpp')
| -rw-r--r-- | src/modules/m_blockamsg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_blockamsg.cpp b/src/modules/m_blockamsg.cpp index f3cbfd37a..016ede478 100644 --- a/src/modules/m_blockamsg.cpp +++ b/src/modules/m_blockamsg.cpp @@ -124,7 +124,7 @@ public: { // Block it... if (action == IBLOCK_KILLOPERS || action == IBLOCK_NOTICEOPERS) - ServerInstance->SNO.WriteToSnoMask('a', "%s had an /amsg or /ame blocked", user->nick.c_str()); + ServerInstance->SNO.WriteToSnoMask('a', "{} had an /amsg or /ame blocked", user->nick); if (action == IBLOCK_KILL || action == IBLOCK_KILLOPERS) ServerInstance->Users.QuitUser(user, "Attempted to global message (/amsg or /ame)"); |
