From a04c320b4b34f67eba0d1d304dfb0e2df453f1d3 Mon Sep 17 00:00:00 2001 From: Robby- Date: Sat, 28 Sep 2013 16:03:09 +0200 Subject: cs_set: Fix showing expiry time in INFO output. cs_sync: Check for the correct override privilege. --- modules/commands/cs_set.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands/cs_set.cpp') 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("expire", "14d"); + time_t chanserv_expire = Config->GetModule("chanserv")->Get("expire", "14d"); if (!noexpire.HasExt(ci) && chanserv_expire && !Anope::NoExpire) info[_("Expires")] = Anope::strftime(ci->last_used + chanserv_expire, source.GetAccount()); } -- cgit