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