fix(elimination_handler.cpp): actually allow MAX_SERVERS_PER_GAME
This commit is contained in:
parent
de482bdfd0
commit
596d9f05f8
@ -35,7 +35,7 @@ void elimination_handler::run_frame()
|
|||||||
}
|
}
|
||||||
|
|
||||||
++server_count[server.game][context.get_address().to_string(false)];
|
++server_count[server.game][context.get_address().to_string(false)];
|
||||||
if (server_count[server.game][context.get_address().to_string(false)] >= MAX_SERVERS_PER_GAME)
|
if (server_count[server.game][context.get_address().to_string(false)] > MAX_SERVERS_PER_GAME)
|
||||||
{
|
{
|
||||||
console::log("Removing server '%s' because it exceeds MAX_SERVERS_PER_GAME", context.get_address().to_string().data());
|
console::log("Removing server '%s' because it exceeds MAX_SERVERS_PER_GAME", context.get_address().to_string().data());
|
||||||
context.remove();
|
context.remove();
|
||||||
|
Loading…
Reference in New Issue
Block a user