1
0
mirror of https://github.com/anope/anope.git synced 2026-07-01 19:26:40 +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
+2 -2
View File
@@ -792,7 +792,7 @@ class ProtoInspIRCd : public Module
throw ModuleException("No protocol interface for insp12");
ModuleManager::DetachAll(m_insp12);
Implementation i[] = { I_OnReload, I_OnUserNickChange, I_OnChannelCreate, I_OnChanRegistered, I_OnDelChan, I_OnMLock, I_OnUnMLock, I_OnSetChannelOption };
Implementation i[] = { I_OnReload, I_OnUserNickChange, I_OnChannelSync, I_OnChanRegistered, I_OnDelChan, I_OnMLock, I_OnUnMLock, I_OnSetChannelOption };
ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation));
}
@@ -813,7 +813,7 @@ class ProtoInspIRCd : public Module
u->RemoveModeInternal(ModeManager::FindUserModeByName("REGISTERED"));
}
void OnChannelCreate(Channel *c) anope_override
void OnChannelSync(Channel *c) anope_override
{
if (c->ci)
this->OnChanRegistered(c->ci);