diff options
author | Adam <Adam@anope.org> | 2013-10-05 01:07:51 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-10-05 01:07:51 -0400 |
commit | 277f735505ccb16d6fcc15ad21af4325e58f3615 (patch) | |
tree | ffb624a9ca629029f8cfed5e5e448f4a62468269 /modules/commands/cs_set.cpp | |
parent | f63a2bdfb4e9230ad029b136d73076d92b0910ef (diff) |
Hide expires in /cs info if the channel is actively in use as it confuses people
Diffstat (limited to 'modules/commands/cs_set.cpp')
-rw-r--r-- | modules/commands/cs_set.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
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<time_t>("expire", "14d"); - if (!noexpire.HasExt(ci) && chanserv_expire && !Anope::NoExpire) - info[_("Expires")] = Anope::strftime(ci->last_used + chanserv_expire, source.GetAccount()); } }; |