}
void rpl_isupport(struct client_data *client) // 005
{
- copy_strf(&databuf, ":%s 005 %s CASEMAPPING=rfc1459 NICKLEN=%u EXCEPTS=e INVEX=I MAXTARGETS=1 CHANMODES=beI,k,l,Pimnst CHANTYPES=#& PREFIX=(ov)@+ STATUSMSG=@+ :are supported by this server\n", hostname, client->nick, MAX_NICKLEN-1);
+ copy_strf(&databuf, ":%s 005 %s CASEMAPPING=ascii NICKLEN=%u EXCEPTS=e INVEX=I MAXTARGETS=1 CHANMODES=beI,k,l,Pimnst CHANTYPES=#& PREFIX=(ov)@+ STATUSMSG=@+ :are supported by this server\n", hostname, client->nick, MAX_NICKLEN-1);
}
#if 0
}
void stringupper(char *s) {
while (*s) {
- if (*s >= 'a' && *s <= '~')
+ if (*s >= 'a' && *s <= 'z')
*s &= ~0x20;
s++;
}
}
void stringlower(char *s) {
while (*s) {
- if (*s >= 'A' && *s <= '^')
+ if (*s >= 'A' && *s <= 'Z')
*s |= 0x20;
s++;
}