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

cs_set: Fix showing expiry time in INFO output.

cs_sync: Check for the correct override privilege.
This commit is contained in:
Robby-
2013-09-28 16:03:09 +02:00
committed by Adam
parent 4221a507cc
commit a04c320b4b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1321,7 +1321,7 @@ class CSSet : public Module
if (noautoop.HasExt(ci))
info.AddOption(_("No auto-op"));
time_t chanserv_expire = Config->GetModule(this)->Get<time_t>("expire", "14d");
time_t chanserv_expire = Config->GetModule("chanserv")->Get<time_t>("expire", "14d");
if (!noexpire.HasExt(ci) && chanserv_expire && !Anope::NoExpire)
info[_("Expires")] = Anope::strftime(ci->last_used + chanserv_expire, source.GetAccount());
}