From 5b23fae8bfb40ae23a4cd206b4b58cb076600609 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 8 Jan 2024 14:14:37 +0000 Subject: Add a string overload of Channel::SetModes. --- include/channels.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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 -- cgit