clientlog: fix check for ratelimit and noclientlog
Fixes: 3a2d33d5a3
("clientlog: refactor client record and API")
This commit is contained in:
parent
11bffa0d55
commit
5dc7242703
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ CLG_Initialise(void)
|
|||
active = !CNF_GetNoClientLog();
|
||||
if (!active) {
|
||||
for (i = 0; i < MAX_SERVICES; i++) {
|
||||
if (leak_rate[i] == 0)
|
||||
if (leak_rate[i] != 0)
|
||||
LOG_FATAL("Rate limiting cannot be enabled with noclientlog");
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue