1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-28 17:56:37 +02:00

Fix dereferencing the wrong variable in a config_error()

This commit is contained in:
Bram Matthys
2023-03-30 16:58:44 +02:00
parent b51c8315fd
commit bfee61d52d
+1 -1
View File
@@ -496,7 +496,7 @@ int floodprot_config_test_antiflood_block(ConfigFile *cf, ConfigEntry *ce, int t
{
config_error("%s:%i: set::anti-flood::channel: profile '%s' name is invalid. "
"Name can be 24 characters max and may only contain characters a-z, 0-9, _ and -",
cep->file->filename, cep->line_number, ce->value);
ce->file->filename, ce->line_number, ce->value);
errors++;
continue;
}