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/plexus.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'modules/protocol/plexus.cpp') diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp index f4f8b19fd..05da5892e 100644 --- a/modules/protocol/plexus.cpp +++ b/modules/protocol/plexus.cpp @@ -144,12 +144,9 @@ class PlexusProto : public IRCDProto UplinkSocket::Message(source) << "ENCAP * SVSMODE " << u->GetUID() << " " << u->timestamp << " " << buf; } - void SendLogin(User *u) anope_override + void SendLogin(User *u, NickAlias *na) anope_override { - if (!u->Account()) - 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