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

Don't delete users immediately when quit or killed, instead wait until message processing is done

This commit is contained in:
Adam
2013-01-03 11:41:32 -05:00
parent 827469600e
commit 098157dca8
25 changed files with 133 additions and 114 deletions
+2 -2
View File
@@ -129,9 +129,9 @@ class ModuleDNSBL : public Module
}
}
void OnUserConnect(Reference<User> &user, bool &exempt) anope_override
void OnUserConnect(User *user, bool &exempt) anope_override
{
if (exempt || !user || (!this->check_on_connect && !Me->IsSynced()) || !dnsmanager)
if (exempt || user->Quitting() || (!this->check_on_connect && !Me->IsSynced()) || !dnsmanager)
return;
if (!this->check_on_netburst && !user->server->IsSynced())