Project

General

Profile

Bug #2355 » 0079-kick_command-Use-macros-instead-of-const-variables.patch

main - Marko Lindqvist, 10/17/2026 10:41 AM

View differences:

server/stdinhand.c
}
if (caller != nullptr && ALLOW_ADMIN > conn_get_access(caller)) {
const int MIN_UNIQUE_CONNS = 3;
#define MIN_UNIQUE_CONNS 3
const char *unique_ipaddr[MIN_UNIQUE_CONNS];
int i, num_unique_connections = 0;
......
}
}
#undef MIN_UNIQUE_CONNS
if (check) {
return TRUE;
}
(1-1/2)