1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 05:03:13 +02:00

Fixed some issues and desyncs with creating empty permanent channels on startup & dropping empty channels

This commit is contained in:
Adam
2013-05-08 20:26:45 -04:00
parent 735f0ba6cf
commit 735e234c2c
11 changed files with 56 additions and 49 deletions
+4
View File
@@ -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
+1
View File
@@ -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) { }