summaryrefslogtreecommitdiff
path: root/include/users.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-01-08 14:14:57 +0000
committerSadie Powell <sadie@witchery.services>2024-01-08 14:14:57 +0000
commit0439e3b21bb197c80974074a614fe3cdf16ddf5a (patch)
tree704fbdf05031fad7be76c757988ee581530df43e /include/users.h
parent5b23fae8bfb40ae23a4cd206b4b58cb076600609 (diff)
Add a string overload of User::SetModes.
Diffstat (limited to 'include/users.h')
-rw-r--r--include/users.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/users.h b/include/users.h
index f017c0e9d..02fb48b60 100644
--- a/include/users.h
+++ b/include/users.h
@@ -303,6 +303,7 @@ public:
* @param umodes The modes
*/
void SetModes(BotInfo *bi, const char *umodes, ...) ATTR_FORMAT(3, 4);
+ void SetModes(BotInfo *bi, const Anope::string &umodes);
/** Set a string of modes on a user internally
* @param setter who/what is setting the mode