Fixed access level bug

This commit is contained in:
Felix Geyer 2004-04-02 20:58:12 +00:00
parent 611135de3d
commit 3042aef82e

View File

@ -121,6 +121,9 @@ public adminSql() {
szAccess[strlen(szAccess)] = 'y' szAccess[strlen(szAccess)] = 'y'
g_aAccess[ g_aNum ] = read_flags( szAccess ) g_aAccess[ g_aNum ] = read_flags( szAccess )
if (!(g_aAccess[g_aNum] & ADMIN_USER) && !(g_aAccess[g_aNum] & ADMIN_ADMIN))
g_aAccess[g_aNum] |= ADMIN_ADMIN
g_aFlags[ g_aNum ] = read_flags( szFlags ) g_aFlags[ g_aNum ] = read_flags( szFlags )
++g_aNum ++g_aNum
} }