mirror of
https://github.com/anope/anope.git
synced 2026-06-25 17:46:37 +02:00
Fix crash when we kill users because of a double free
This commit is contained in:
@@ -727,9 +727,6 @@ void User::KillInternal(const Anope::string &source, const Anope::string &reason
|
||||
Log(this, "killed") << "was killed by " << source << " (Reason: " << reason << ")";
|
||||
|
||||
this->Quit(reason);
|
||||
|
||||
this->quit = true;
|
||||
quitting_users.push_back(this);
|
||||
}
|
||||
|
||||
void User::Quit(const Anope::string &reason)
|
||||
|
||||
Reference in New Issue
Block a user