From ccae59430ab50393f43ccc38a6a6c0c24191b601 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 14 Jan 2014 03:49:22 -0500 Subject: [PATCH] Call User::Login after sending the login event, in case a module wants to act on the fact that the ircd sees the user as logged in --- src/users.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/users.cpp b/src/users.cpp index 9256eba7b..b90da29a3 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -303,10 +303,10 @@ void User::Identify(NickAlias *na) na->last_seen = Anope::CurTime; } - this->Login(na->nc); - IRCD->SendLogin(this); + this->Login(na->nc); + FOREACH_MOD(OnNickIdentify, (this)); if (this->IsServicesOper())