diff options
author | Sadie Powell <sadie@witchery.services> | 2021-04-27 17:31:14 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-04-27 17:31:14 +0100 |
commit | dfc8bd4aa2c29a1314667b06485e6ad268ebff29 (patch) | |
tree | 4861cbbaa7aa7df5f4809e5af341666f4dd1f63e /modules/protocol/plexus.cpp | |
parent | fd774bd52a849f3e60c0548250c832d6902215c7 (diff) |
Switch SendSVSLogin to take a NickAlias.
Diffstat (limited to 'modules/protocol/plexus.cpp')
-rw-r--r-- | modules/protocol/plexus.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp index 352d860ca..5fd52fda3 100644 --- a/modules/protocol/plexus.cpp +++ b/modules/protocol/plexus.cpp @@ -174,11 +174,11 @@ class PlexusProto : public IRCDProto UplinkSocket::Message(Me) << "ENCAP " << (s ? s->GetName() : message.target.substr(0, 3)) << " SASL " << message.source << " " << message.target << " " << message.type << " " << message.data << (message.ext.empty() ? "" : (" " + message.ext)); } - void SendSVSLogin(const Anope::string &uid, const Anope::string &acc, const Anope::string &vident, const Anope::string &vhost) anope_override + void SendSVSLogin(const Anope::string &uid, NickAlias *na) anope_override { Server *s = Server::Find(uid.substr(0, 3)); UplinkSocket::Message(Me) << "ENCAP " << (s ? s->GetName() : uid.substr(0, 3)) << " SVSLOGIN " << uid << " * * " - << (vhost.empty() ? "*" : vhost) << " " << acc; + << (na->GetVhostHost().empty() ? "*" : na->GetVhostHost()) << " " << na->nc->display; } void SendSVSNOOP(const Server *server, bool set) anope_override |