Replaced magic number in is_user_admin

This commit is contained in:
justgo97 2018-09-28 15:20:06 +01:00
parent e8c8111178
commit c38ac49b1d

View File

@ -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));
} }
/** /**