On Thu, Apr 16, 2009 at 9:21 AM, Vin King vin.king@gmail.com wrote:
mitigate the damage caused for the most part. If the SOp in question could not be kicked or banned, then the other SOps would be powerless. In
I would say that a proper implementation should allow other SOPs (or higher) to kick SOPs, regardless of the normal restriction.
I would expect the logic would look something like
int can_user_kick( aClient * actor, aClient * victim, aChannelAccessContext * context ) {
if ( channel_access_level(victim, context) >= ACCESS_SOP && is_channel_access_level_higher_than(actor, victim, context) ) return KICKRESULT_SORRY_THEYARE_A_SOP;
return KICKRESULT_YESYOUCAN; }
-- -J