diff options
author | Sadie Powell <sadie@witchery.services> | 2024-06-23 13:55:25 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2024-06-23 13:55:25 +0100 |
commit | 59ec42f0e6a49a3a4a2386a392cdfec5906af912 (patch) | |
tree | 1dfff5783bc05573885064dbfd0ccafbb95d236b | |
parent | 8a65f116b693be66b3c3f25f699ee2aef8c0241d (diff) |
Rename suspend in cs_expire to suspendexpire to match ns_expire.
-rw-r--r-- | data/chanserv.example.conf | 2 | ||||
-rw-r--r-- | 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<time_t>("expire"); + time_t expiry_secs = Config->GetModule(this->owner)->Get<time_t>("suspendexpire"); if (!expiry.empty() && expiry[0] != '+') { |