1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-05 22:13:13 +02:00

Get rid of stricmp/strnicmp (use strcasecmp/strncasecmp)

This commit is contained in:
Bram Matthys
2019-09-09 16:13:32 +02:00
parent 9636f83a2b
commit 7d4b7c2fed
26 changed files with 76 additions and 83 deletions
+1 -1
View File
@@ -284,7 +284,7 @@ int parse2(aClient *cptr, aClient **fromptr, MessageTag *mtags, char *ch)
** This error should indeed not be sent in case
** of notices -- Syzop.
*/
if (!IsRegistered(cptr) && stricmp(ch, "NOTICE")) {
if (!IsRegistered(cptr) && strcasecmp(ch, "NOTICE")) {
sendnumericfmt(from, ERR_NOTREGISTERED, "You have not registered");
parse_addlag(cptr, bytes);
return -1;