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
This commit is contained in:
psychon
2009-08-17 18:01:59 +00:00
parent dbcf9b4649
commit 6db23367be
+3 -2
View File
@@ -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", {