From dfc8bd4aa2c29a1314667b06485e6ad268ebff29 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 27 Apr 2021 17:31:14 +0100 Subject: Switch SendSVSLogin to take a NickAlias. --- modules/protocol/unrealircd.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/protocol/unrealircd.cpp') diff --git a/modules/protocol/unrealircd.cpp b/modules/protocol/unrealircd.cpp index e19628b2f..c3a3b5769 100644 --- a/modules/protocol/unrealircd.cpp +++ b/modules/protocol/unrealircd.cpp @@ -390,7 +390,7 @@ class UnrealIRCdProto : public IRCDProto UplinkSocket::Message(BotInfo::Find(message.source)) << "SASL " << distmask << " " << 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 { size_t p = uid.find('!'); Anope::string distmask; @@ -406,7 +406,7 @@ class UnrealIRCdProto : public IRCDProto { distmask = uid.substr(0, p); } - UplinkSocket::Message(Me) << "SVSLOGIN " << distmask << " " << uid << " " << acc; + UplinkSocket::Message(Me) << "SVSLOGIN " << distmask << " " << uid << " " << na->nc->display; } bool IsIdentValid(const Anope::string &ident) anope_override -- cgit