From 5aac04dffe1aafc3f6c26828844fdb6d42dc66c8 Mon Sep 17 00:00:00 2001 From: Adam Date: Sun, 21 Jul 2013 00:23:24 -0400 Subject: Move SendLogin() back to User::Identify, it was moved at some point? but doesn't as intended in ::Login --- src/users.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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; -- cgit