From 6db23367be46b6b53a2ff3847d4af2f05571b154 Mon Sep 17 00:00:00 2001 From: psychon Date: Mon, 17 Aug 2009 18:01:59 +0000 Subject: [PATCH] route_replies: Don't route 250 /lusers can cause a 250 "Highest connection count" reply, but sadly some IRC daemons don't send this numeric. Since there is no easy way to handle this, we will just assume that 266 is the last numeric reply to /lusers. *If* there is a 250 reply, it will be broadcasted to all connected clients. This is still better than the "This module hit a timeout" we generate on some ircds currently. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1600 726aef4b-f618-498e-8847-2d620e286838 --- modules/route_replies.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/route_replies.cpp b/modules/route_replies.cpp index 2bf6ec44..68bbc2bf 100644 --- a/modules/route_replies.cpp +++ b/modules/route_replies.cpp @@ -43,8 +43,9 @@ static const struct { {"254", false}, {"255", false}, {"265", false}, - {"266", false}, - {"250", true}, + {"266", true}, + // We don't handle 250 here since some IRCds don't sent it + //{"250", true}, {NULL, true} }}, {"WHOIS", {