From f92c5471c24253128939974327eda7db95ff06ee Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 8 Jan 2024 14:24:13 +0000 Subject: Add a string overload of Channel::Kick. --- include/channels.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/channels.h b/include/channels.h index 7d37a3544..1e7531ab2 100644 --- a/include/channels.h +++ b/include/channels.h @@ -235,6 +235,7 @@ public: * @return true if the kick was successful, false if a module blocked the kick */ bool Kick(BotInfo *bi, User *u, const char *reason = NULL, ...) ATTR_FORMAT(4, 5); + bool Kick(BotInfo *bi, User *u, const Anope::string &reason); /** Get all modes set on this channel, excluding status modes. * @return a map of modes and their optional parameters. -- cgit