diff options
author | Sadie Powell <sadie@witchery.services> | 2024-01-08 14:14:37 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-01-08 14:14:37 +0000 |
commit | 5b23fae8bfb40ae23a4cd206b4b58cb076600609 (patch) | |
tree | b7f045e18dafbc5d41f1f4f3635e54c5f4ed8164 /include/channels.h | |
parent | aac4b0f0a3a0b615ed834dc2a61d472044906c79 (diff) |
Add a string overload of Channel::SetModes.
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 3ff41005a..7d37a3544 100644 --- a/include/channels.h +++ b/include/channels.h @@ -205,6 +205,7 @@ public: * @param cmodes The modes to set */ void SetModes(BotInfo *bi, bool enforce_mlock, const char *cmodes, ...) ATTR_FORMAT(4, 5); + void SetModes(BotInfo *bi, bool enforce_mlock, const Anope::string &cmodes); /** Set a string of modes internally on a channel * @param source The setter |