summaryrefslogtreecommitdiff
path: root/modules/commands/cs_info.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-10-05 01:07:51 -0400
committerAdam <Adam@anope.org>2013-10-05 01:07:51 -0400
commit277f735505ccb16d6fcc15ad21af4325e58f3615 (patch)
treeffb624a9ca629029f8cfed5e5e448f4a62468269 /modules/commands/cs_info.cpp
parentf63a2bdfb4e9230ad029b136d73076d92b0910ef (diff)
Hide expires in /cs info if the channel is actively in use as it confuses people
Diffstat (limited to 'modules/commands/cs_info.cpp')
-rw-r--r--modules/commands/cs_info.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/cs_info.cpp b/modules/commands/cs_info.cpp
index a52c43d87..e3a9dc743 100644
--- a/modules/commands/cs_info.cpp
+++ b/modules/commands/cs_info.cpp
@@ -37,7 +37,7 @@ class CommandCSInfo : public Command
bool show_all = false;
/* Should we show all fields? Only for sadmins and identified users */
- if (has_auspex || source.AccessFor(ci).HasPriv("INFO"))
+ if (source.AccessFor(ci).HasPriv("INFO") || has_auspex)
show_all = true;
InfoFormatter info(nc);