summaryrefslogtreecommitdiff
path: root/include/channels.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2023-06-03 21:42:06 +0100
committerSadie Powell <sadie@witchery.services>2023-06-03 21:51:07 +0100
commit9d0a6ddc67b1e7bd0c32603b6fa90b702c13447d (patch)
tree1e4d019535c89f67e7cf54a76afabe188947c668 /include/channels.h
parent29db25dac7aff36b4f7239a9fabd57230534cf35 (diff)
parentfbf3b344740f6bd4f9337e485e35e9e8103428bc (diff)
Merge branch '2.0' into 2.1.
Diffstat (limited to 'include/channels.h')
-rw-r--r--include/channels.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/channels.h b/include/channels.h
index e2399b381..da4ab33a4 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -288,6 +288,11 @@ class CoreExport Channel : public Base, public Extensible
*/
bool CheckKick(User *user);
+ /** Find which bot should send mode/topic/etc changes for this channel
+ * @return The bot
+ */
+ BotInfo *WhoSends() const;
+
/** Finds a channel
* @param name The channel to find
* @return The channel, if found