mirror of
https://github.com/anope/anope.git
synced 2026-07-08 12:43:13 +02:00
Unbreak account stuff from commit ccae59430a.
This commit is contained in:
@@ -82,12 +82,12 @@ class RatboxProto : public IRCDProto
|
||||
UplinkSocket::Message(Me) << "UID " << u->nick << " 1 " << u->timestamp << " " << modes << " " << u->GetIdent() << " " << u->host << " 0 " << u->GetUID() << " :" << u->realname;
|
||||
}
|
||||
|
||||
void SendLogin(User *u) anope_override
|
||||
void SendLogin(User *u, NickAlias *na) anope_override
|
||||
{
|
||||
if (!u->Account())
|
||||
if (na->nc->HasExt("UNCONFIRMED"))
|
||||
return;
|
||||
|
||||
UplinkSocket::Message(Me) << "ENCAP * SU " << u->GetUID() << " " << u->Account()->display;
|
||||
UplinkSocket::Message(Me) << "ENCAP * SU " << u->GetUID() << " " << na->nc->display;
|
||||
}
|
||||
|
||||
void SendLogout(User *u) anope_override
|
||||
|
||||
Reference in New Issue
Block a user