summaryrefslogtreecommitdiff
path: root/modules/commands/cs_set.cpp
diff options
context:
space:
mode:
authorRobby- <robby@chat.be>2013-09-28 16:03:09 +0200
committerAdam <Adam@anope.org>2013-09-29 15:42:22 -0400
commita04c320b4b34f67eba0d1d304dfb0e2df453f1d3 (patch)
tree6e5354a58a4060160fdb925b2951b600caa535cd /modules/commands/cs_set.cpp
parent4221a507cc465f8ff6bb1550e7c1c082556927ca (diff)
cs_set: Fix showing expiry time in INFO output.
cs_sync: Check for the correct override privilege.
Diffstat (limited to 'modules/commands/cs_set.cpp')
-rw-r--r--modules/commands/cs_set.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_set.cpp b/modules/commands/cs_set.cpp
index 228a593be..c6160d97a 100644
--- a/modules/commands/cs_set.cpp
+++ b/modules/commands/cs_set.cpp
@@ -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());
}