aboutsummaryrefslogtreecommitdiff
path: root/src/cull.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/cull.cpp
parentReplace VAFORMAT/InspIRCd::Format/... with fmt::sprintf. (diff)
Convert WriteToSnoMask/WriteGlobalSno to use fmtlib format strings.
Diffstat (limited to 'src/cull.cpp')
-rw-r--r--src/cull.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cull.cpp b/src/cull.cpp
index c4bb4ab84..cb1989f7c 100644
--- a/src/cull.cpp
+++ b/src/cull.cpp
@@ -70,8 +70,8 @@ void CullList::Apply()
working.swap(SQlist);
for (auto* u : working)
{
- ServerInstance->SNO.WriteGlobalSno('a', "User %s SendQ exceeds connect class maximum of %lu",
- u->nick.c_str(), u->GetClass()->hardsendqmax);
+ ServerInstance->SNO.WriteGlobalSno('a', "User {} SendQ exceeds connect class maximum of {}",
+ u->nick, u->GetClass()->hardsendqmax);
ServerInstance->Users.QuitUser(u, "SendQ exceeded");
}
working.clear();