mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-09 06:03:13 +02:00
Added a new stats system
This commit is contained in:
@@ -57,6 +57,11 @@ struct ChMode {
|
||||
unsigned char kmode;
|
||||
};
|
||||
|
||||
typedef struct _OperStat {
|
||||
struct _OperStat *prev, *next;
|
||||
char *flag;
|
||||
} OperStat;
|
||||
|
||||
typedef struct zConfiguration aConfiguration;
|
||||
struct zConfiguration {
|
||||
unsigned som:1;
|
||||
@@ -86,6 +91,7 @@ struct zConfiguration {
|
||||
char *auto_join_chans;
|
||||
char *oper_auto_join_chans;
|
||||
char *oper_only_stats;
|
||||
OperStat *oper_only_stats_ext;
|
||||
int maxchannelsperuser;
|
||||
int anti_spam_quit_message_time;
|
||||
char *egd_path;
|
||||
|
||||
+1
-1
@@ -110,7 +110,7 @@ extern EVENT(e_clean_out_throttling_buckets);
|
||||
extern void module_loadall(int module_load);
|
||||
extern long set_usermode(char *umode);
|
||||
extern char *get_modestr(long umodes);
|
||||
extern void tkl_stats(aClient *cptr);
|
||||
extern void tkl_stats(aClient *cptr, int type, char *para);
|
||||
extern void config_error(char *format, ...);
|
||||
extern int config_verbose;
|
||||
extern void config_progress(char *format, ...);
|
||||
|
||||
@@ -262,6 +262,7 @@
|
||||
#define RPL_STATSELINE 225
|
||||
#define RPL_STATSNLINE 226
|
||||
#define RPL_STATSVLINE 227
|
||||
#define RPL_STATSBANVER 228
|
||||
#define RPL_SERVICEINFO 231
|
||||
#define RPL_RULES 232
|
||||
#define RPL_SERVICE 233
|
||||
|
||||
Reference in New Issue
Block a user