From 277f735505ccb16d6fcc15ad21af4325e58f3615 Mon Sep 17 00:00:00 2001 From: Adam Date: Sat, 5 Oct 2013 01:07:51 -0400 Subject: Hide expires in /cs info if the channel is actively in use as it confuses people --- modules/commands/cs_set.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'modules/commands/cs_set.cpp') diff --git a/modules/commands/cs_set.cpp b/modules/commands/cs_set.cpp index 75c9348fe..782e1d6a0 100644 --- a/modules/commands/cs_set.cpp +++ b/modules/commands/cs_set.cpp @@ -1331,10 +1331,6 @@ class CSSet : public Module info.AddOption(_("Keep modes")); if (noautoop.HasExt(ci)) info.AddOption(_("No auto-op")); - - 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