]> jfr.im git - irc/unrealircd/unrealircd.git/commitdiff
Change numeric 008 format which reports snomask.
authorBram Matthys <redacted>
Sun, 25 Mar 2018 11:45:59 +0000 (13:45 +0200)
committerBram Matthys <redacted>
Sun, 25 Mar 2018 11:45:59 +0000 (13:45 +0200)
This is for easier parsing of the "MODE yournick" response.
From:
:maintest.test.net 008 testuser :Server notice mask (+kcfjvGqSso)
To:
:maintest.test.net 008 testuser +kcfjvGqSso :Server notice mask
Reported by emerson in #5079.

src/s_err.c

index 22d04a5745ded4f4fde0ac61871729cc99782932..4ed1bf227593d0b50e0c6c7c85e357f62c98f2f3 100644 (file)
@@ -33,7 +33,7 @@ static char *replies[] = {
 /* 005    RPL_ISUPPORT */ ":%s 005 %s %s :are supported by this server",
 /* 006    RPL_MAP */      ":%s 006 %s :%s%-*s(%ld) %s",
 /* 007    RPL_MAPEND */   ":%s 007 %s :End of /MAP",
-/* 008    RPL_SNOMASK */  ":%s 008 %s :Server notice mask (%s)",
+/* 008    RPL_SNOMASK */  ":%s 008 %s %s :Server notice mask",
 /* 009 */ NULL, /* ircu */
 /* 010    RPL_REDIR */   ":%s 010 %s %s %d :Please use this Server/Port instead",
 /* 011 */ NULL,