From efa7543dfae663339b1306f143dad7b48b29f85f Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 22 May 2019 10:12:10 +0100 Subject: [PATCH] Support both ERR_NOSUCHNICK and ERR_NOSUCHCHANNEL for *route_replies NAMES --- modules/route_replies.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/route_replies.cpp b/modules/route_replies.cpp index c6eabafd..804caedf 100644 --- a/modules/route_replies.cpp +++ b/modules/route_replies.cpp @@ -44,8 +44,8 @@ static const struct { { {"353", false}, /* rfc1459 RPL_NAMREPLY */ {"366", true}, /* rfc1459 RPL_ENDOFNAMES */ - // No such nick/channel - {"401", true}, + {"401", true}, /* rfc1459 ERR_NOSUCHNICK */ + {"403", true}, /* rfc1459 ERR_NOSUCHCHANNEL */ {nullptr, true}, }}, {"LUSERS",