proxy: Correct number of parameters sent in 005

119c028 (in 2005) attempted to limit to 15 parameters, but didn't
account for the nick and trailing text in ISUPPORT.

Fixes #1641
This commit is contained in:
David Leadbeater 2026-09-08 23:19:33 +10:00
commit 21f79f2551

View file

@ -260,7 +260,7 @@ void proxy_dump_data(CLIENT_REC *client)
for (;; tmp++) {
if (*tmp != NULL) {
g_string_append_printf(paramstr, "%s ", *tmp);
if (++count < 15)
if (++count < 13)
continue;
}