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

Fix set::restrict-commands::except not working. Reported by Rain.

This commit is contained in:
Bram Matthys
2022-05-29 15:13:12 +02:00
parent cb9ffd9e17
commit c8ef9b2740
+2
View File
@@ -170,6 +170,7 @@ int rcmd_configtest(ConfigFile *cf, ConfigEntry *ce, int type, int *errs)
if (!strcmp(cep2->name, "except"))
{
test_match_block(cf, cep2, &errors);
continue;
}
if (!cep2->value)
@@ -269,6 +270,7 @@ int rcmd_configrun(ConfigFile *cf, ConfigEntry *ce, int type)
if (!strcmp(cep2->name, "except"))
{
conf_match_block(cf, cep2, &rcmd->except);
continue;
}
if (!cep2->value)