From 63a0ed0604b165900117720a5a9e5797995ba847 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Tue, 21 Feb 2012 09:15:15 -0600 Subject: [PATCH] numeric: reserve RPL_SASLMECHS (908) --- include/numeric.h | 1 + src/messages.tab | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/include/numeric.h b/include/numeric.h index 8ec528cb..99d402f9 100644 --- a/include/numeric.h +++ b/include/numeric.h @@ -380,6 +380,7 @@ extern const char *form_str(int); #define ERR_SASLTOOLONG 905 #define ERR_SASLABORTED 906 #define ERR_SASLALREADY 907 +#define RPL_SASLMECHS 908 #define ERR_LAST_ERR_MSG 999 diff --git a/src/messages.tab b/src/messages.tab index 0843292d..c269771a 100644 --- a/src/messages.tab +++ b/src/messages.tab @@ -933,7 +933,7 @@ static const char * replies[] = { /* 905 ERR_SASLTOOLONG */ ":%s 905 %s :SASL message too long", /* 906 ERR_SASLABORTED */ ":%s 906 %s :SASL authentication aborted", /* 907 ERR_SASLALREADY */ ":%s 907 %s :You have already completed SASL authentication", -/* 908 */ NULL, +/* 908 RPL_SASLMECHS */ ":%s 908 %s %s :are available SASL mechanisms", /* 909 */ NULL, /* 910 */ NULL, /* 911 */ NULL,