diff options
author | Sadie Powell <sadie@witchery.services> | 2024-02-22 11:18:05 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-02-22 11:18:05 +0000 |
commit | 7cba665270958b6e25add883df73df4976259e54 (patch) | |
tree | 79e02db8866fad38d41737e72fc3215f0ea1e6f2 | |
parent | 9502567453cccfe6193cb0def511e11078bb4463 (diff) |
Fix some oversights in commit 82fa7e1467.
-rw-r--r-- | modules/protocol/bahamut.cpp | 2 | ||||
-rw-r--r-- | modules/protocol/hybrid.cpp | 4 | ||||
-rw-r--r-- | modules/protocol/ratbox.cpp | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/modules/protocol/bahamut.cpp b/modules/protocol/bahamut.cpp index 7a0c357ca..642e6f193 100644 --- a/modules/protocol/bahamut.cpp +++ b/modules/protocol/bahamut.cpp @@ -237,7 +237,7 @@ public: */ void SendSVSKillInternal(const MessageSource &source, User *user, const Anope::string &buf) override { - Uplink::Send("SVSKILL", user->nick, buf); + Uplink::Send(source, "SVSKILL", user->nick, buf); } void SendBOB() override diff --git a/modules/protocol/hybrid.cpp b/modules/protocol/hybrid.cpp index b5ccbe1b3..fa095f485 100644 --- a/modules/protocol/hybrid.cpp +++ b/modules/protocol/hybrid.cpp @@ -246,9 +246,9 @@ public: void SendSVSPart(const MessageSource &source, User *u, const Anope::string &chan, const Anope::string ¶m) override { if (!param.empty()) - Uplink::Send("SVSPART", u->GetUID(), chan, param); + Uplink::Send(source, "SVSPART", u->GetUID(), chan, param); else - Uplink::Send("SVSPART", u->GetUID(), chan); + Uplink::Send(source, "SVSPART", u->GetUID(), chan); } void SendSVSHold(const Anope::string &nick, time_t t) override diff --git a/modules/protocol/ratbox.cpp b/modules/protocol/ratbox.cpp index c3ac626ba..c720c07cc 100644 --- a/modules/protocol/ratbox.cpp +++ b/modules/protocol/ratbox.cpp @@ -66,12 +66,12 @@ public: { // Calculate the time left before this would expire time_t timeleft = x->expires ? x->expires - Anope::CurTime : x->expires; - Uplink::Send("ENCAP", '*', "RESV", timeleft, x->mask, 0, x->GetReason()); + Uplink::Send(FindIntroduced(), "ENCAP", '*', "RESV", timeleft, x->mask, 0, x->GetReason()); } void SendSQLineDel(const XLine *x) override { - Uplink::Send(Config->GetClient("OperServ"), "ENCAP", '*', "UNRESV", x->mask); + Uplink::Send(FindIntroduced(), "ENCAP", '*', "UNRESV", x->mask); } void SendConnect() override |