From ed6565a5a0f276a469e208774bf5a9e4da0e2b9b Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Mon, 23 Aug 2010 18:59:32 -0500 Subject: [PATCH] Add ERR_MLOCKRESTRICTED (735) to reflect bounces caused by MLOCK. --- 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 8f91c55..3ee3871 100644 --- a/include/numeric.h +++ b/include/numeric.h @@ -377,6 +377,8 @@ extern const char *form_str(int); #define ERR_NOCOMMONCHAN 737 +#define ERR_MLOCKRESTRICTED 735 + #define RPL_RSACHALLENGE2 740 #define RPL_ENDOFRSACHALLENGE2 741 diff --git a/src/messages.tab b/src/messages.tab index 7fe4fb4..d652836 100644 --- a/src/messages.tab +++ b/src/messages.tab @@ -756,7 +756,7 @@ static const char * replies[] = { /* 732 RPL_MONLIST */ ":%s 732 %s :%s", /* 733 RPL_ENDOFMONLIST */ ":%s 733 %s :End of MONITOR list", /* 734 ERR_MONLISTFULL */ ":%s 734 %s %d %s :Monitor list is full", -/* 735 */ NULL, +/* 735 ERR_MLOCKRESTRICTED */ "%s %c :This mode cannot be set because it is restricted to Services only.", /* 736 */ NULL, /* 737 ERR_NOCOMMONCHAN*/ "%s :is in +G mode (server-side ignore) and you do not share a common channel with them.", /* 738 */ NULL,