Author: Bleep <helveytw@home.com>
[ircu2.10.12-pk.git] / ircd / s_err.c
index ae219c628ca77f6d2ad6447beb8defa0af3cedae..bf3de6df90b714b87bfa930f240466fd055f95b1 100644 (file)
@@ -23,6 +23,7 @@
 #include "sprintf_irc.h"
 
 #include <assert.h>
+#include <string.h>
 
 static Numeric replyTable[] = {
 /* 000 */
@@ -466,7 +467,7 @@ static Numeric replyTable[] = {
 /* 215 */
   { RPL_STATSILINE, "%c %s * %s %d %d", "215" },
 /* 216 */
-  { RPL_STATSKLINE, "%c %s %s %s %d %d", "216" },
+  { RPL_STATSKLINE, "%c %s \"%s\" %s 0 0", "216" },
 /* 217 */
   { RPL_STATSPLINE, "P %d %d %s %s", "217" },
 /* 218 */
@@ -532,7 +533,7 @@ static Numeric replyTable[] = {
 /* 248 */
   { RPL_STATSULINE, "%c %s %s %s %d %d", "248" },
 /* 249 */
-  { 0 },
+  { RPL_STATSDEBUG, 0, "249" },
 /* 250 */
   { RPL_STATSCONN, ":Highest connection count: %d (%d clients)", "250" },
 /* 251 */
@@ -974,7 +975,7 @@ static Numeric replyTable[] = {
 /* 467 */
   { ERR_KEYSET, "%s :Channel key already set", "467" },
 /* 468 */
-  { ERR_INVALIDUSERNAME, "", "468" },
+  { ERR_INVALIDUSERNAME, 0, "468" },
 /* 469 */
   { 0 },
 /* 470 */
@@ -1064,7 +1065,7 @@ static Numeric replyTable[] = {
 /* 512 */
   { ERR_NOSUCHGLINE, "%s :No such gline", "512" },
 /* 513 */
-  { ERR_BADPING, "", "513" },
+  { ERR_BADPING, 0, "513" },
 /* 514 */
   { ERR_NOSUCHJUPE, "%s :No such jupe", "514" },
 /* 515 */
@@ -1072,9 +1073,9 @@ static Numeric replyTable[] = {
 /* 516 */
   { ERR_DONTCHEAT, " :Don't Cheat.", "516" },
 /* 517 */
-  { 0 },
+  { ERR_DISABLED, "%s :Command disabled.", "517" },
 /* 518 */
-  { ERR_POPTIX, " :While you have been watching us chat in your status window, we have HaX0rd your computer", "666" },
+  { 0 },
 /* 519 */
   { 0 },
 /* 520 */