From 66f37139cba97f2bb2a490376ffc33f153900b6c Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 28 May 2023 21:25:02 -0400 Subject: regchannels: remove dependency on no-delete-null-pointer-checks --- include/channels.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include') 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 -- cgit