[IRCServices] Small bug in list

dreamer at darkness.gr dreamer at darkness.gr
Sun Nov 12 12:07:54 PST 2000


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.