mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +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'
|
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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user