1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-05 19:13:12 +02:00

Part one of soft gline/kline (more information will follow)

This commit is contained in:
Bram Matthys
2018-09-03 17:07:22 +02:00
parent 2537fb5e1c
commit 5f116cc64e
5 changed files with 266 additions and 185 deletions
+4 -1
View File
@@ -748,10 +748,13 @@ struct _spamfilter {
TS tkl_duration;
};
#define TKL_SUBTYPE_NONE 0x0000
#define TKL_SUBTYPE_SOFT 0x0001 /* (require SASL) */
struct t_kline {
aTKline *prev, *next;
int type;
unsigned short subtype; /* subtype (currently spamfilter only), see SPAMF_* */
unsigned short subtype; /* subtype: for spamfilter see SPAMF_*, otherwise TKL_SUBTYPE_* */
union {
Spamfilter *spamf;
} ptr;