1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-09 06:03:13 +02:00

Add the promised support of security group functionality in except ban { }

So now the example in the release notes actually works:
except ban {
    mask { security-group irccloud; }
    type { blacklist; connect-flood; handshake-data-flood; }
}
This commit is contained in:
Bram Matthys
2022-05-25 07:49:11 +02:00
parent d8ff86e739
commit 7ff4a3e897
6 changed files with 73 additions and 114 deletions
+1
View File
@@ -1106,6 +1106,7 @@ struct Spamfilter {
struct BanException {
char *usermask; /**< User mask */
char *hostmask; /**< Host mask */
SecurityGroup *match; /**< Security group (for config file items only) */
unsigned short subtype; /**< See TKL_SUBTYPE_* */
char *bantypes; /**< Exception types */
char *reason; /**< Reason */