mirror of
https://github.com/anope/anope.git
synced 2026-06-27 05:06:38 +02:00
Move SendLogin() back to User::Identify, it was moved at some point? but doesn't as intended in ::Login
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user