whatever devhc you're right

This commit is contained in:
Thilo Schulz 2011-02-03 17:34:26 +00:00
parent cf791d14c5
commit 774955c748

View file

@ -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);
}