summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp1
1 files changed, 1 insertions, 0 deletions
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);
}