ADMIN_LEVEL_B admins cannot ban permanantly
PHP Code:
if( /* admin has flag ADMIN_LEVEL_B */ )
{
// set ban time to xxx
}
OR
Only ADMIN_LEVEL_A admins can ban permanantly.
PHP Code:
if( /* admin does not have ADMIN_LEVEL_A */ )
{
// set ban time to xxx
}
If neither of these work like you want then please explain in detail how exactly you want it to work. Also, you need to consider what happens if an admin does neither of these flags to decide on which to choose (or if I need to make a different one for you).
__________________