summaryrefslogtreecommitdiff
path: root/include/channels.h
diff options
context:
space:
mode:
authorAdam <Adam@sigterm.info>2023-05-28 21:25:02 -0400
committerAdam <Adam@sigterm.info>2023-05-28 21:26:03 -0400
commit66f37139cba97f2bb2a490376ffc33f153900b6c (patch)
tree8e36db8bfb468bcac8663eb462145d6a06fece45 /include/channels.h
parent0646547c9eecc464dfc3c6fb0c7dfa9a3298a268 (diff)
regchannels: remove dependency on no-delete-null-pointer-checks
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 c6f9b66ad..e3ce9acf1 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -289,6 +289,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