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