mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-12 23:08:03 +03:00
Replaced magic number in is_user_admin
This commit is contained in:
parent
e8c8111178
commit
c38ac49b1d
@ -26,7 +26,7 @@
|
|||||||
stock is_user_admin(id)
|
stock is_user_admin(id)
|
||||||
{
|
{
|
||||||
new __flags = get_user_flags(id);
|
new __flags = get_user_flags(id);
|
||||||
return (__flags > 0 && !(__flags & ADMIN_USER));
|
return (__flags > ADMIN_ALL && !(__flags & ADMIN_USER));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user