diff --git a/code/game/g_svcmds.c b/code/game/g_svcmds.c index b62da50a..705afd7c 100644 --- a/code/game/g_svcmds.c +++ b/code/game/g_svcmds.c @@ -155,7 +155,7 @@ static void UpdateIPBans (void) Q_strcat(ip, sizeof(ip), va("%i", b[j])); Q_strcat(ip, sizeof(ip), (j<3) ? "." : " "); } - if (strlen(iplist_final)+strlen(ip) < MAX_CVAR_VALUE_STRING - 1) + if (strlen(iplist_final)+strlen(ip) < MAX_CVAR_VALUE_STRING) { Q_strcat( iplist_final, sizeof(iplist_final), ip); }