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

Use I_OnUserQuit for os_session because I_OnPreUserLogoff gets called too late, after the users server can be gone. Fix a couple other small things

This commit is contained in:
Adam
2013-05-06 22:18:38 -04:00
parent ef06226521
commit 6578829fa6
4 changed files with 7 additions and 6 deletions
+2 -1
View File
@@ -815,7 +815,8 @@ class ProtoInspIRCd : public Module
void OnChannelCreate(Channel *c) anope_override
{
this->OnChanRegistered(c->ci);
if (c->ci)
this->OnChanRegistered(c->ci);
}
void OnChanRegistered(ChannelInfo *ci) anope_override