Quote:
Originally Posted by GXLZPGX
|
Though you as a scripter may know what you're attempting to do, the compiler does not. This is why you must follow order of operations and use parenthesis where needed. Here, parenthesis are needed because we want to evaluate the NOT value of the entire condition. Without parenthesis, the compiler will first evaluate the result of !get_user_flags(id) and then do a bit comparison with ADMIN_KICK.
__________________