1
0
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:
codemastr
2003-08-01 19:13:46 +00:00
parent 313aa1e26c
commit 161e62ccc0
19 changed files with 218 additions and 1215 deletions
+6
View File
@@ -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
View File
@@ -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, ...);
+1
View File
@@ -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