1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 11:46:37 +02:00

Unbreak account stuff from commit ccae59430a.

This commit is contained in:
Adam
2014-01-21 17:20:15 -05:00
parent 67c13b41ee
commit 4d9273efa4
13 changed files with 29 additions and 42 deletions
+2 -5
View File
@@ -344,13 +344,10 @@ class UnrealIRCdProto : public IRCDProto
return mask.length() >= 4 && mask[0] == '~' && mask[2] == ':';
}
void SendLogin(User *u) anope_override
void SendLogin(User *u, NickAlias *na) anope_override
{
if (!u->Account())
return;
if (Servers::Capab.count("ESVID") > 0)
IRCD->SendMode(Config->GetClient("NickServ"), u, "+d %s", u->Account()->display.c_str());
IRCD->SendMode(Config->GetClient("NickServ"), u, "+d %s", na->nc->display.c_str());
else
IRCD->SendMode(Config->GetClient("NickServ"), u, "+d %d", u->signon);
}