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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user