[IRCServices] Small bug in list

&quot &quot
Sun Nov 12 12:31:22 PST 2000


ircservices-coding at snow.shadowfire.org for future reference ;)

Dryder
----- Original Message ----- 
From: <dreamer at darkness.gr>
To: <ircservices at snow.shadowfire.org>
Sent: Sunday, November 12, 2000 3:07 PM
Subject: [IRCServices] Small bug in list


> Greetings all,
> Sorry if this is a know, feature.
> If a user tries to list using the command :
> 
> /msg chanserv access #Channel list NiCkNaMe
> 
> but the username that is looking for , was register in eg, small case
> letters "nickname" and not "NiCkNaMe" the output will be null.
> The fix is small just add this line in chanserv.c line number about 3130
> 
>             for (i = 0; i < ci->accesscount; i++) {
>                 if (nick && ci->access[i].ni
>                          && !match_wild(nick, ci->access[i].ni->nick))
> /* Our Code Goes Here*/
>                         if ( !stricmp (nick, ci->access[i].ni->nick) == 0
> ) {
>                             continue;
> /* End Of */
>                         }
>                 access_list(u, i, ci, &sent_header);
>             }
> 
> Sorry for puting lines of code here i'm not aware at this time, the name
> of the other list.
> 
> Regards,
> Nick Krassas
> ircadmin at darkness.irc.gr
> Dinos @ irc.gr
> 
> 
> ---------------------------------------------------------------
> To unsubscribe, send email to majordomo at snow.shadowfire.org
> with "unsubscribe ircservices" in the body, without the quotes.
> 


---------------------------------------------------------------
To unsubscribe, send email to majordomo at snow.shadowfire.org
with "unsubscribe ircservices" in the body, without the quotes.