From 4d9273efa42a16380de8ac81c615eaac89052f68 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 21 Jan 2014 17:20:15 -0500 Subject: Unbreak account stuff from commit ccae59430ab50393f43ccc38a6a6c0c24191b601. --- modules/protocol/ratbox.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/protocol/ratbox.cpp') diff --git a/modules/protocol/ratbox.cpp b/modules/protocol/ratbox.cpp index 7b6a9f345..0cb8a6df2 100644 --- a/modules/protocol/ratbox.cpp +++ b/modules/protocol/ratbox.cpp @@ -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 -- cgit