1
0
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:
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
@@ -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 */