diff options
author | Adam <Adam@anope.org> | 2014-01-14 03:49:22 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2014-01-14 03:49:22 -0500 |
commit | ccae59430ab50393f43ccc38a6a6c0c24191b601 (patch) | |
tree | ab3f07640a9e46e0fd2c4b232d64c1314d84d47b /src/users.cpp | |
parent | 974adb7ce1c01d6de56fbf29836f93f6088dcab9 (diff) |
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
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 4 |
1 files 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()) |