summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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;