1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-12 17:14:46 +02:00

Conditional Config: add support for @else

Actually surprisingly easy due to simply flipping item->negative :D
This commit is contained in:
Bram Matthys
2026-03-22 19:36:39 +01:00
parent 100abaa82d
commit 93a485db21
4 changed files with 37 additions and 1 deletions
+1
View File
@@ -20,6 +20,7 @@ This is work in progress and may not always be a stable version.
* Variable comparisons now support `>`, `>=`, `<`, `<=` in addition
to `==` and `!=`. Uses natural ordering, so version strings and
numbers compare correctly. Example: `@if $MAXCONNECTIONS >= 1024`.
* Support `@else`: `@if ... @else ... @endif`.
### Changes:
* [GeoIP](https://www.unrealircd.org/docs/GeoIP):