diff options
author | Sadie Powell <sadie@witchery.services> | 2024-07-14 15:21:00 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-07-14 15:21:00 +0100 |
commit | ff65b68dfa081055daa8bea6142fcfb73371e1bb (patch) | |
tree | 60949c5f2c639cc3b77454c7cccc40b72317efc0 /modules | |
parent | 94456a606336e7ac2e51caadb46895ce89078c39 (diff) |
Fix the name of the key parameter in SendSVSJoin.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/protocol/hybrid.cpp | 2 | ||||
-rw-r--r-- | modules/protocol/inspircd.cpp | 2 | ||||
-rw-r--r-- | modules/protocol/plexus.cpp | 2 | ||||
-rw-r--r-- | modules/protocol/unrealircd.cpp | 8 |
4 files changed, 7 insertions, 7 deletions
diff --git a/modules/protocol/hybrid.cpp b/modules/protocol/hybrid.cpp index 593840c06..658a4196e 100644 --- a/modules/protocol/hybrid.cpp +++ b/modules/protocol/hybrid.cpp @@ -238,7 +238,7 @@ public: Uplink::Send("SVSNICK", u->GetUID(), u->timestamp, newnick, when); } - void SendSVSJoin(const MessageSource &source, User *u, const Anope::string &chan, const Anope::string &) override + void SendSVSJoin(const MessageSource &source, User *u, const Anope::string &chan, const Anope::string &key) override { Uplink::Send(source, "SVSJOIN", u->GetUID(), chan); } diff --git a/modules/protocol/inspircd.cpp b/modules/protocol/inspircd.cpp index 0b0a60c8b..364421359 100644 --- a/modules/protocol/inspircd.cpp +++ b/modules/protocol/inspircd.cpp @@ -509,7 +509,7 @@ public: SendAddLine("Z", x->GetHost(), timeleft, x->by, x->GetReason()); } - void SendSVSJoin(const MessageSource &source, User *u, const Anope::string &chan, const Anope::string &other) override + void SendSVSJoin(const MessageSource &source, User *u, const Anope::string &chan, const Anope::string &key) override { Uplink::Send(source, "SVSJOIN", u->GetUID(), chan); } diff --git a/modules/protocol/plexus.cpp b/modules/protocol/plexus.cpp index 2840f9c88..b5d43a91c 100644 --- a/modules/protocol/plexus.cpp +++ b/modules/protocol/plexus.cpp @@ -164,7 +164,7 @@ public: Uplink::Send(source, "ENCAP", '*', "TOPIC", c->name, c->topic_setter, c->topic_ts, c->topic); } - void SendSVSJoin(const MessageSource &source, User *user, const Anope::string &chan, const Anope::string ¶m) override + void SendSVSJoin(const MessageSource &source, User *user, const Anope::string &chan, const Anope::string &key) override { Uplink::Send(source, "ENCAP", '*', "SVSJOIN", user->GetUID(), chan); } diff --git a/modules/protocol/unrealircd.cpp b/modules/protocol/unrealircd.cpp index aaae92b38..c0b1ea066 100644 --- a/modules/protocol/unrealircd.cpp +++ b/modules/protocol/unrealircd.cpp @@ -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 ¶m) 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 ¶m) override |