mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-10 04:43:12 +02:00
Add set::max-stats-matches which limits output such as '/STATS gline'
to the specified number of lines. This defaults to 1000.
This will prevent IRCOps from being flooded off ("Max SendQ exceeded")
if they list all *LINES and there are thousands.
In the newly introduced error message, after too many matches,
we also kindly point out to use filters like '/STATS gline +m *.nl'
This commit is contained in:
@@ -63,7 +63,7 @@ int (*find_shun)(Client *client);
|
||||
int(*find_spamfilter_user)(Client *client, int flags);
|
||||
TKL *(*find_qline)(Client *client, char *nick, int *ishold);
|
||||
TKL *(*find_tkline_match_zap)(Client *client);
|
||||
void (*tkl_stats)(Client *client, int type, char *para);
|
||||
void (*tkl_stats)(Client *client, int type, char *para, int *cnt);
|
||||
void (*tkl_sync)(Client *client);
|
||||
void (*cmd_tkl)(Client *client, MessageTag *mtags, int parc, char *parv[]);
|
||||
int (*place_host_ban)(Client *client, BanAction action, char *reason, long duration);
|
||||
|
||||
Reference in New Issue
Block a user