diff options
| author | Adam <Adam@anope.org> | 2013-07-21 00:23:24 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2013-07-21 00:23:24 -0400 |
| commit | 5aac04dffe1aafc3f6c26828844fdb6d42dc66c8 (patch) | |
| tree | 1cb7a0f3c36322e83c58379f700646fffce5d82b /src | |
| parent | 7480fbda2b308b914e942d36e9a29a9f7d7a5d5a (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.cpp | 4 |
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; |
