Add a flag to /stats that makes a /stats available to local opers.
[ircu2.10.12-pk.git] / include / s_stats.h
index 8408d9a243275c55cb555c3a34d107fa0ecaca3a..417e5c2a2b7af4b10a7ccbd09c689e3f05858f99 100644 (file)
@@ -55,8 +55,9 @@ struct StatDesc
 
 #define STAT_FLAG_OPERONLY 0x01    /**< Oper-only stat */
 #define STAT_FLAG_OPERFEAT 0x02    /**< Oper-only if the feature is true */
-#define STAT_FLAG_CASESENS 0x04    /**< Flag is case-sensitive */
-#define STAT_FLAG_VARPARAM 0x08    /**< May have an extra parameter */
+#define STAT_FLAG_LOCONLY  0x04    /**< Local user only */
+#define STAT_FLAG_CASESENS 0x08    /**< Flag is case-sensitive */
+#define STAT_FLAG_VARPARAM 0x10    /**< May have an extra parameter */
 
 extern void stats_init(void);
 const struct StatDesc *stats_find(const char *name_or_char);