summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-07-21 00:23:24 -0400
committerAdam <Adam@anope.org>2013-07-21 00:23:24 -0400
commit5aac04dffe1aafc3f6c26828844fdb6d42dc66c8 (patch)
tree1cb7a0f3c36322e83c58379f700646fffce5d82b /src
parent7480fbda2b308b914e942d36e9a29a9f7d7a5d5a (diff)
Move SendLogin() back to User::Identify, it was moved at some point? but doesn't as intended in ::Login
Diffstat (limited to 'src')
-rw-r--r--src/users.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 7f9a49049..c614a02ca 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -302,6 +302,8 @@ void User::Identify(NickAlias *na)
this->Login(na->nc);
+ IRCD->SendLogin(this);
+
FOREACH_MOD(OnNickIdentify, (this));
if (this->IsServicesOper())
@@ -335,8 +337,6 @@ void User::Login(NickCore *core)
this->UpdateHost();
- IRCD->SendLogin(this);
-
if (this->server->IsSynced())
Log(this, "account") << "is now identified as " << this->nc->display;