1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 17:26:37 +02:00

Add a config option to disable sasl

This commit is contained in:
Adam
2012-11-09 19:13:33 -05:00
parent 2fe387b4f0
commit ff3e396e92
6 changed files with 24 additions and 6 deletions
+5
View File
@@ -455,6 +455,9 @@ void User::Login(NickCore *core)
core->Users.push_back(this);
this->UpdateHost();
if (this->server->IsSynced())
Log(this, "account") << "is now identified as " << this->nc->display;
}
/** Logout the user
@@ -463,6 +466,8 @@ void User::Logout()
{
if (!this->nc)
return;
Log(this, "account") << "is not longer identified as " << this->nc->display;
std::list<User *>::iterator it = std::find(this->nc->Users.begin(), this->nc->Users.end(), this);
if (it != this->nc->Users.end())