[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Moderating nick changes : a test patch.



Piotr Kucharski wrote:
> 
> On Tue, Sep 07, 1999 at 11:48:05PM +0200, Piotr Kucharski wrote:
> > > Btw - the current 2.10.3 behaviour seems to do a check on whether the
> > > client is banned on any channel. The odd thing about this check is it
> > > seems to have no purpose, and doesn't do anything except waste a little
> > > CPU (unless I'm missing something!). Anyone have any ideas here?
> > It checks if one can speak (+b makes client silent).
> 
> Ah, I missed the exact point of that loop. It checks if you are
> banned, and if yes, gives 5 times more penalty than usual, so one
> cannot nickflood that easy.
> 
> p.

Ok then... What if instead of checking for MODE_BAN, this loop checked
for can_send to equal any non-null value? Wouldn't this mean that
someone could moderate their channel and slow down a nickflood. If so,
then surely this would be easier and less heavy on bandwidth than
attempting to set bans on as many floodbots as possible.

Wull@IRCnet