summaryrefslogtreecommitdiff
path: root/src/channels.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-02-26 16:33:48 +0000
committerSadie Powell <sadie@witchery.services>2024-02-26 16:45:28 +0000
commit6be4df3b395bd11ee1d936f6f1c9b63553441d38 (patch)
treeff004a247f7f77d719ba775ed6e4f7e3de5e6798 /src/channels.cpp
parent4789751e5002a0667ca9080bcb461b0817db31b2 (diff)
Remove several string format IRCDProto function overloads.
Diffstat (limited to 'src/channels.cpp')
-rw-r--r--src/channels.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/channels.cpp b/src/channels.cpp
index 8a3248183..babe5c69c 100644
--- a/src/channels.cpp
+++ b/src/channels.cpp
@@ -799,7 +799,7 @@ bool Channel::Kick(BotInfo *bi, User *u, const Anope::string &reason)
FOREACH_RESULT(OnBotKick, MOD_RESULT, (bi, this, u, reason));
if (MOD_RESULT == EVENT_STOP)
return false;
- IRCD->SendKick(bi, this, u, "%s", reason.c_str());
+ IRCD->SendKick(bi, this, u, reason);
this->KickInternal(bi, u->nick, reason);
return true;
}