Add a flag to /stats that makes a /stats available to local opers.
[ircu2.10.12-pk.git] / ircd / s_stats.c
index 6b390aae3f1d4f3c40738ca0b7b560f42c75beb8..22781148ae630202d8a92f77e6e96248763bb4a9 100644 (file)
@@ -525,7 +525,7 @@ stats_help(struct Client* to, const struct StatDesc* sd, char* param)
 
 /** Contains information about all statistics. */
 struct StatDesc statsinfo[] = {
-  { 'a', "nameservers", STAT_FLAG_OPERFEAT, FEAT_HIS_STATS_a,
+  { 'a', "nameservers", STAT_FLAG_OPERFEAT|STAT_FLAG_LOCONLY, FEAT_HIS_STATS_a,
     report_dns_servers, 0,
     "DNS servers." },
   { 'c', "connect", STAT_FLAG_OPERFEAT, FEAT_HIS_STATS_c,