From f10ec0c42e7406e150792494316a93fdfa7b207d Mon Sep 17 00:00:00 2001 From: JD Horelick Date: Sat, 11 Sep 2010 13:55:06 -0400 Subject: [PATCH] Change ERR_MLOCKRESTRICTED to 742 as 735-739 seem for MONITOR extensions. --- include/numeric.h | 4 ++-- src/messages.tab | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/numeric.h b/include/numeric.h index 3ee3871..d12f5e6 100644 --- a/include/numeric.h +++ b/include/numeric.h @@ -377,11 +377,11 @@ extern const char *form_str(int); #define ERR_NOCOMMONCHAN 737 -#define ERR_MLOCKRESTRICTED 735 - #define RPL_RSACHALLENGE2 740 #define RPL_ENDOFRSACHALLENGE2 741 +#define ERR_MLOCKRESTRICTED 742 + #define RPL_SCANMATCHED 750 #define RPL_SCANUMODES 751 diff --git a/src/messages.tab b/src/messages.tab index 6865874..d2af219 100644 --- a/src/messages.tab +++ b/src/messages.tab @@ -756,14 +756,14 @@ 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 ERR_MLOCKRESTRICTED */ "%s %c %s :MODE cannot be set due to channel having an active MLOCK restriction policy", +/* 735 */ NULL, /* 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, /* 739 */ NULL, /* 740 RPL_RSACHALLENGE2*/ ":%s 740 %s :%s", /* 741 RPL_ENDOFRSACHALLENGE2*/ ":%s 741 %s :End of CHALLENGE", -/* 742 */ NULL, +/* 742 ERR_MLOCKRESTRICTED */ "%s %c %s :MODE cannot be set due to channel having an active MLOCK restriction policy", /* 743 */ NULL, /* 744 */ NULL, /* 745 */ NULL,