diff --git a/doc/RELEASE-NOTES.md b/doc/RELEASE-NOTES.md index 22bc69a76..807ebd1e8 100644 --- a/doc/RELEASE-NOTES.md +++ b/doc/RELEASE-NOTES.md @@ -10,24 +10,34 @@ Enhancements: * The [security-group block](https://www.unrealircd.org/docs/Security-group_block) has been expanded and the same functionality is now available in [mask items](https://www.unrealircd.org/docs/Mask_item) too: - * This means the existing options like identified, webirc, tls and - reputation-score can be used in allow::mask, tld::mask, etc. + * This means the existing options like `identified`, `webirc`, `tls` and + `reputation-score` can be used in `allow::mask` etc. * New options (in both security-group and mask) are: - * connect-time: time a user is connected to IRC - * security-group: to check another security group - * account: services account name - * country: country as found by GeoIP - * realname: realname (gecos) of the user - * certfp: certificate fingerprint - * Some of this functionality was already available in a different way - (extended server bans) but this makes it easier to read in the config file - and is more flexible. - * Every option also has an exclude- variant, eg. *exclude-country*. - If a user matches any exclude- option then it is considered not a match. + * `connect-time`: time a user is connected to IRC + * `security-group`: to check another security group + * `account`: services account name + * `country`: country as found by GeoIP + * `realname`: realname (gecos) of the user + * `certfp`: certificate fingerprint + * Every option also has an exclude- variant, eg. `exclude-country`. + If a user matches any `exclude-` option then it is considered not a match. + * The modules [connthrottle](https://www.unrealircd.org/docs/Connthrottle), + [restrict-commands](https://www.unrealircd.org/docs/Set_block#set::restrict-commands) + and [antirandom](https://www.unrealircd.org/docs/Set_block#set::antirandom) + now use the new `except` sub-block which is a mask item. The old syntax + (eg set::antirandom::except-webirc) is still accepted by UnrealIRCd + and converted to the appropriate new setting behind the scenes + (set::antirandom::except::webirc). + * The modules [blacklist](https://www.unrealircd.org/docs/Blacklist_block) + and [antimixedutf8](https://www.unrealircd.org/docs/Set_block#set::antimixedutf8) + now also support the `except` block (a mask item). + * Other than that the extended functionality is available in these blocks: + `allow`, `oper`, `tld`, `vhost`, `deny channel`, `allow channel`. * Example of direct use in a ::mask item: ``` + /* Spanish MOTD for Spanish speaking countries */ tld { - mask { country { ES; MX; } } + mask { country { ES; AR; BO; CL; CO; CR; DO; EC; SV; GT; HN; MX; NI; PA; PY; PE; PR; UY; VE; } } motd "motd.es.txt"; rules "rules.es.txt"; } diff --git a/doc/conf/examples/example.conf b/doc/conf/examples/example.conf index 7af948aef..f85ff6b7b 100644 --- a/doc/conf/examples/example.conf +++ b/doc/conf/examples/example.conf @@ -562,7 +562,6 @@ set { */ } - /* New users are all users that do not belong in the * known-users group. They are considered "new" and in * case of a high number of such new users connecting