summaryrefslogtreecommitdiff
path: root/modules/protocol/ratbox.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-02-22 11:18:05 +0000
committerSadie Powell <sadie@witchery.services>2024-02-22 11:18:05 +0000
commit7cba665270958b6e25add883df73df4976259e54 (patch)
tree79e02db8866fad38d41737e72fc3215f0ea1e6f2 /modules/protocol/ratbox.cpp
parent9502567453cccfe6193cb0def511e11078bb4463 (diff)
Fix some oversights in commit 82fa7e1467.
Diffstat (limited to 'modules/protocol/ratbox.cpp')
-rw-r--r--modules/protocol/ratbox.cpp4
1 files changed, 2 insertions, 2 deletions
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