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:
@@ -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
|
||||
|
||||
@@ -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) { }
|
||||
|
||||
Reference in New Issue
Block a user