[IRCServices] problem with /cs unban

Andrew Church achurch at achurch.org
Thu May 5 09:57:41 PDT 2005


>Ive found a problem with how ircservices matches bans for /cs unban. 
>Whilst writing a protocol module i noticed that if a protocol module 
>supplies ip addresses for connecting users, ALL channel bans will be 
>checked against user->ip, not user->fakehost or user->host! This means 
>that the ban just outright fails. This is a pretty old version (5.0.41) 
>- has it since been fixed?

     I can't see that such a bug was ever there; the code first checks
against the host and fakehost regardless of protocol, then checks the IP
address if the protocol supplies it.

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/