From b35e61401eaf2792f0a253a9c37e4c43ec0991ab Mon Sep 17 00:00:00 2001 From: Jos Ahrens Date: Sun, 1 Oct 2017 10:39:09 +0000 Subject: [PATCH] route_replies: rizon: Add 403, 442 expectations Rizon replies with a 403 if the channel does not exist, and with a 442 if you're not on that channel. Resolves #1421 --- modules/route_replies.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/route_replies.cpp b/modules/route_replies.cpp index 8d7f6f05..0c8396ac 100644 --- a/modules/route_replies.cpp +++ b/modules/route_replies.cpp @@ -171,6 +171,8 @@ static const struct { // MODE e {"348", false}, {"349", true}, + {"403", true}, /* rfc1459 ERR_NOSUCHCHANNEL */ + {"442", true}, /* rfc1459 ERR_NOTONCHANNEL */ {"467", true}, /* rfc1459 ERR_KEYSET */ {"472", true}, /* rfc1459 ERR_UNKNOWNMODE */ {"501", true}, /* rfc1459 ERR_UMODEUNKNOWNFLAG */