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/unrealircd.cpp | |
parent | fd774bd52a849f3e60c0548250c832d6902215c7 (diff) |
Switch SendSVSLogin to take a NickAlias.
Diffstat (limited to 'modules/protocol/unrealircd.cpp')
-rw-r--r-- | modules/protocol/unrealircd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 |