summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-11-09 19:13:33 -0500
committerAdam <Adam@anope.org>2012-11-09 19:13:33 -0500
commitff3e396e92dfc6f95bf8e7a099e43cc0d3eebdf9 (patch)
tree19451d97ba9cf4dd321fc49a1e20191b273abacc /src/users.cpp
parent2fe387b4f0cb0e9df43c2689a1343a24f07018ca (diff)
Add a config option to disable sasl
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 684817d2e..f536115d4 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -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())