mirror of
https://github.com/anope/anope.git
synced 2026-07-08 13:03:13 +02:00
Don't delete users immediately when quit or killed, instead wait until message processing is done
This commit is contained in:
@@ -719,9 +719,9 @@ class ModuleDNS : public Module
|
||||
}
|
||||
}
|
||||
|
||||
void OnUserConnect(Reference<User> &u, bool &exempt) anope_override
|
||||
void OnUserConnect(User *u, bool &exempt) anope_override
|
||||
{
|
||||
if (u && u->server)
|
||||
if (!u->Quitting() && u->server)
|
||||
{
|
||||
DNSServer *s = DNSServer::Find(u->server->GetName());
|
||||
/* Check for user limit reached */
|
||||
|
||||
Reference in New Issue
Block a user