diff options
author | Adam <Adam@anope.org> | 2013-05-08 18:26:23 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-05-08 18:26:23 -0400 |
commit | 735f0ba6cf5602396bc2cabd6ceca0e92a0edd00 (patch) | |
tree | 107f52a9e1fa309a4a72ac2451136e99f7e9d5d4 /src/users.cpp | |
parent | 9ee7c825e120a56aa5c8b270ab7304354cad93c5 (diff) |
Fix crash when we kill users because of a double free
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/users.cpp b/src/users.cpp index bd376f6a1..ab8ac5777 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -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) |