summaryrefslogtreecommitdiff
path: root/include/channels.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-08 14:24:13 +0000
committerSadie Powell <sadie@witchery.services>2024-01-08 14:37:50 +0000
commitf92c5471c24253128939974327eda7db95ff06ee (patch)
tree4f716467f9ef299db748477448da5d10a4fe4d80 /include/channels.h
parent0439e3b21bb197c80974074a614fe3cdf16ddf5a (diff)
Add a string overload of Channel::Kick.
Diffstat (limited to 'include/channels.h')
-rw-r--r--include/channels.h1
1 files changed, 1 insertions, 0 deletions
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.