1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 12:36:38 +02:00

Fix the name of the key parameter in SendSVSJoin.

This commit is contained in:
Sadie Powell
2024-07-14 15:21:00 +01:00
parent 94456a6063
commit ff65b68dfa
5 changed files with 9 additions and 9 deletions
+4 -4
View File
@@ -299,12 +299,12 @@ private:
/* In older Unreal SVSJOIN and SVSNLINE tokens were mixed so SVSJOIN and SVSNLINE are broken
when coming from a none TOKEN'd server
*/
void SendSVSJoin(const MessageSource &source, User *user, const Anope::string &chan, const Anope::string &param) override
void SendSVSJoin(const MessageSource &source, User *user, const Anope::string &chan, const Anope::string &key) override
{
if (!param.empty())
Uplink::Send("SVSJOIN", user->GetUID(), chan, param);
else
if (key.empty())
Uplink::Send("SVSJOIN", user->GetUID(), chan);
else
Uplink::Send("SVSJOIN", user->GetUID(), chan, key);
}
void SendSVSPart(const MessageSource &source, User *user, const Anope::string &chan, const Anope::string &param) override