Fixed base plugins using GetMaxClients() instead of MaxClients (bug 3985, r=dvander).

This commit is contained in:
Nicholas Hastings
2010-02-08 20:14:52 -08:00
parent d484979fe8
commit 0af39de346
18 changed files with 35 additions and 70 deletions
+1 -3
View File
@@ -526,9 +526,7 @@ FetchUser(Handle:db, client)
FetchUsersWeCan(Handle:db)
{
new max_clients = GetMaxClients();
for (new i=1; i<=max_clients; i++)
for (new i=1; i<=MaxClients; i++)
{
if (PlayerAuth[i] && GetUserAdmin(i) == INVALID_ADMIN_ID)
{