summaryrefslogtreecommitdiff
path: root/modules/protocol/plexus.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2014-01-21 17:20:15 -0500
committerAdam <Adam@anope.org>2014-01-21 17:20:15 -0500
commit4d9273efa42a16380de8ac81c615eaac89052f68 (patch)
tree8c33a14022cdd5fe303fd3bd5160a5b490752c78 /modules/protocol/plexus.cpp
parent67c13b41eeda261b9b94a5cbc9eb55413b0d92cd (diff)
Unbreak account stuff from commit ccae59430ab50393f43ccc38a6a6c0c24191b601.
Diffstat (limited to 'modules/protocol/plexus.cpp')
-rw-r--r--modules/protocol/plexus.cpp7
1 files changed, 2 insertions, 5 deletions
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