mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-24 13:55:36 +03:00
Fixed access level bug
This commit is contained in:
parent
611135de3d
commit
3042aef82e
@ -121,6 +121,9 @@ public adminSql() {
|
||||
szAccess[strlen(szAccess)] = 'y'
|
||||
|
||||
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_aNum
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user