From 77ec1f2fa774ac213638d2e317c3d731b42f12ef 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.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/users.c b/src/users.c index 6b3625dfe..2c00a3480 100644 --- a/src/users.c +++ b/src/users.c @@ -452,6 +452,7 @@ void User::AutoID(const std::string &account) */ void User::Login(NickCore *core) { + this->Logout(); nc = core; core->Users.push_back(this); }