[IRCServices] Bug Report, forbidden channel dropped by founder

Andrew Church achurch at achurch.org
Thu Mar 22 04:16:01 PST 2001


>Normal behaviour for a forbidden channel disallows a forbidden channel to be dropped.
>However, some circumstances might be arranged via which even if a channel is forbidden,
>the person who is the founder may drop the channel.

     Found and fixed--thanks for the report.  The problem is this line:

if (!is_servadmin & (ci->flags & CI_VERBOTEN))

where the first & should of course be an && (the test as written is
always false because CI_VERBOTEN is not 1).  Note that this can only
occur if the user trying to drop the channel is identified to the
channel before the forbid takes place.

  --Andrew Church
    achurch at achurch.org | New address - please note.
    http://achurch.org/ | メールアドレスが変わりました。