diff options
author | Sadie Powell <sadie@witchery.services> | 2024-01-08 14:24:13 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-01-08 14:37:50 +0000 |
commit | f92c5471c24253128939974327eda7db95ff06ee (patch) | |
tree | 4f716467f9ef299db748477448da5d10a4fe4d80 /include/channels.h | |
parent | 0439e3b21bb197c80974074a614fe3cdf16ddf5a (diff) |
Add a string overload of Channel::Kick.
Diffstat (limited to 'include/channels.h')
-rw-r--r-- | include/channels.h | 1 |
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. |