summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-05-08 18:26:23 -0400
committerAdam <Adam@anope.org>2013-05-08 18:26:23 -0400
commit735f0ba6cf5602396bc2cabd6ceca0e92a0edd00 (patch)
tree107f52a9e1fa309a4a72ac2451136e99f7e9d5d4 /src/users.cpp
parent9ee7c825e120a56aa5c8b270ab7304354cad93c5 (diff)
Fix crash when we kill users because of a double free
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp3
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)