mirror of
https://github.com/anope/anope.git
synced 2026-07-02 22:23:13 +02:00
Don't delete users immediately when quit or killed, instead wait until message processing is done
This commit is contained in:
@@ -351,9 +351,9 @@ class CSSeen : public Module
|
||||
purger.SetSecs(expiretimeout);
|
||||
}
|
||||
|
||||
void OnUserConnect(Reference<User> &u, bool &exempt) anope_override
|
||||
void OnUserConnect(User *u, bool &exempt) anope_override
|
||||
{
|
||||
if (u)
|
||||
if (!u->Quitting())
|
||||
UpdateUser(u, NEW, u->nick, "", "", "");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user