From ccc92376beaab22558543cd3ce60782203372004 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 27 Jun 2010 17:59:48 -0400 Subject: [PATCH] Log out users when they log in to another account. --- src/users.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/users.cpp b/src/users.cpp index 9d94f7c0f..cc97152a1 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -408,6 +408,7 @@ void User::AutoID(const std::string &account) */ void User::Login(NickCore *core) { + this->Logout(); nc = core; core->Users.push_back(this); }