mirror of
https://github.com/anope/anope.git
synced 2026-06-12 19:14:47 +02:00
Log out users when they log in to another account.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user