diff options
-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] != '+') { |