From bf7f01038e1d945dbdc274f3d8c974e36b85a0d6 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sun, 30 Mar 2008 19:56:20 +0200 Subject: [PATCH] Add ERR_DISABLED (517) from ircu. --- include/numeric.h | 2 ++ src/messages.tab | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/numeric.h b/include/numeric.h index 1fcedcd..55dcdb4 100644 --- a/include/numeric.h +++ b/include/numeric.h @@ -301,6 +301,8 @@ extern const char *form_str(int); */ #define ERR_WRONGPONG 513 +#define ERR_DISABLED 517 /* from ircu */ + #define ERR_HELPNOTFOUND 524 #define RPL_MODLIST 702 diff --git a/src/messages.tab b/src/messages.tab index 58c13c8..c7fe3b4 100644 --- a/src/messages.tab +++ b/src/messages.tab @@ -538,7 +538,7 @@ static const char * replies[] = { /* 514 */ NULL, /* 515 */ NULL, /* 516 */ NULL, -/* 517 */ NULL, +/* 517 ERR_DISABLED */ "%s :This command has been administratively disabled", /* 518 */ NULL, /* 519 */ NULL, /* 520 */ NULL,