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

More sendnumeric() and sendnumericfmt() conversions.

This commit is contained in:
Bram Matthys
2019-05-22 17:09:12 +02:00
parent 4a11309344
commit 418b42e5bf
10 changed files with 44 additions and 78 deletions
+1 -2
View File
@@ -390,8 +390,7 @@ int parse2(aClient *cptr, aClient **fromptr, MessageTag *mtags, char *ch, char *
** of notices -- Syzop.
*/
if (!IsRegistered(cptr) && stricmp(ch, "NOTICE")) {
sendto_one(from, ":%s %d %s :You have not registered",
me.name, ERR_NOTREGISTERED, ch);
sendnumericfmt(from, ERR_NOTREGISTERED, "You have not registered");
parse_addlag(cptr, bytes);
return -1;
}