Dear Concerned head:
Can u design some command by which channel owner can block or restrict mkick in channel?
Regards,
Malik Kanji
Predictor on DALnet
From: James Hess <mysidia@gmail.com>
To: Vin King <vin.king@gmail.com>
Cc: dalnet-src@dal.net; lorddracula <lorddracula@dal.net>
Sent: Thursday, April 16, 2009 10:25:11 PM
Subject: Re: [DALnet-src] Suggestion
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
_______________________________________________
DALnet-src mailing list
DALnet-src@lists.dal.net
https://lists.dal.net/mailman/listinfo/dalnet-src