mirror of
https://github.com/anope/anope.git
synced 2026-06-29 02:46:37 +02:00
Don't delete users immediately when quit or killed, instead wait until message processing is done
This commit is contained in:
+1
-1
@@ -351,7 +351,7 @@ void Quit::Run(MessageSource &source, const std::vector<Anope::string> ¶ms)
|
||||
na->last_quit = reason;
|
||||
}
|
||||
FOREACH_MOD(I_OnUserQuit, OnUserQuit(user, reason));
|
||||
delete user;
|
||||
user->Quit(reason);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user