diff options
author | Sadie Powell <sadie@witchery.services> | 2024-07-14 16:42:26 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-07-14 16:42:26 +0100 |
commit | e0b687f289d806e3acd45e9f5586c38497275fa9 (patch) | |
tree | 1b55c29cd1ddd291d5f96ca64ccbeb4f6546a2e5 /modules | |
parent | ff65b68dfa081055daa8bea6142fcfb73371e1bb (diff) | |
parent | 2de0dddb1c86b332b000d60dbdd81abe4f82cdb1 (diff) |
Merge branch '2.0' into 2.1.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/protocol/inspircd.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/protocol/inspircd.cpp b/modules/protocol/inspircd.cpp index 364421359..6c30ffc55 100644 --- a/modules/protocol/inspircd.cpp +++ b/modules/protocol/inspircd.cpp @@ -511,7 +511,10 @@ public: void SendSVSJoin(const MessageSource &source, User *u, const Anope::string &chan, const Anope::string &key) override { - Uplink::Send(source, "SVSJOIN", u->GetUID(), chan); + if (key.empty()) + Uplink::Send(source, "SVSJOIN", u->GetUID(), chan); + else + Uplink::Send(source, "SVSJOIN", u->GetUID(), chan, key); } void SendSVSPart(const MessageSource &source, User *u, const Anope::string &chan, const Anope::string ¶m) override |