summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-05-08 20:26:45 -0400
committerAdam <Adam@anope.org>2013-05-08 20:26:45 -0400
commit735e234c2c7a984b01295f86045545ed8d9838ce (patch)
tree87d7cce721eaa7a34d71b17c73f317750d87caef /include
parent735f0ba6cf5602396bc2cabd6ceca0e92a0edd00 (diff)
Fixed some issues and desyncs with creating empty permanent channels on startup & dropping empty channels
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) { }