diff --git a/plugins/include/amxmisc.inc b/plugins/include/amxmisc.inc index 6dc0cb25..ab510ab0 100755 --- a/plugins/include/amxmisc.inc +++ b/plugins/include/amxmisc.inc @@ -26,7 +26,7 @@ stock is_user_admin(id) { new __flags = get_user_flags(id); - return (__flags > ADMIN_ALL && !(__flags & ADMIN_USER)); + return (__flags != ADMIN_ALL && !(__flags & ADMIN_USER)); } /**