diff --git a/include/numeric.h b/include/numeric.h index 1fcedcda..55dcdb4b 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 58c13c82..c7fe3b4f 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,