summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/channels.h4
-rw-r--r--include/modules.h1
2 files changed, 5 insertions, 0 deletions
diff --git a/include/channels.h b/include/channels.h
index 56d0edd2c..7d1918f08 100644
--- a/include/channels.h
+++ b/include/channels.h
@@ -100,6 +100,10 @@ class CoreExport Channel : public Base, public Extensible
*/
void CheckModes();
+ /** Check if this channel should be deleted
+ */
+ bool CheckDelete();
+
/** Join a user internally to the channel
* @param u The user
* @return The UserContainer for the user
diff --git a/include/modules.h b/include/modules.h
index a55a5ff94..5585e9e77 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -636,6 +636,7 @@ class CoreExport Module : public Extensible
virtual void OnDelChan(ChannelInfo *ci) { }
/** Called when a new channel is created
+ * Note that this channel may not be introduced to the uplink at this point.
* @param c The channel
*/
virtual void OnChannelCreate(Channel *c) { }