From 59ec42f0e6a49a3a4a2386a392cdfec5906af912 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 23 Jun 2024 13:55:25 +0100 Subject: Rename suspend in cs_expire to suspendexpire to match ns_expire. --- data/chanserv.example.conf | 2 +- modules/chanserv/cs_suspend.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/chanserv.example.conf b/data/chanserv.example.conf index 8c6db3f0f..afe7b45ae 100644 --- a/data/chanserv.example.conf +++ b/data/chanserv.example.conf @@ -1277,7 +1277,7 @@ module * This directive is optional. * If not set, the default is never. */ - expire = 90d + suspendexpire = 90d /* * Settings to show to non-opers in ChanServ's INFO output. diff --git a/modules/chanserv/cs_suspend.cpp b/modules/chanserv/cs_suspend.cpp index ba63e3f44..03eb36c48 100644 --- a/modules/chanserv/cs_suspend.cpp +++ b/modules/chanserv/cs_suspend.cpp @@ -67,7 +67,7 @@ public: const Anope::string &chan = params[0]; Anope::string expiry = params[1]; Anope::string reason = params.size() > 2 ? params[2] : ""; - time_t expiry_secs = Config->GetModule(this->owner)->Get("expire"); + time_t expiry_secs = Config->GetModule(this->owner)->Get("suspendexpire"); if (!expiry.empty() && expiry[0] != '+') { -- cgit