1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 19:03:13 +02:00

Fix some oversights in commit 82fa7e1467.

This commit is contained in:
Sadie Powell
2024-02-22 11:18:05 +00:00
parent 9502567453
commit 7cba665270
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -246,9 +246,9 @@ public:
void SendSVSPart(const MessageSource &source, User *u, const Anope::string &chan, const Anope::string &param) 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
+2 -2
View File
@@ -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