From 1784180bf346b6cbea86dabb0e4fdf592b19b012 Mon Sep 17 00:00:00 2001 From: Dana Dahlstrom Date: Sat, 16 Feb 2008 11:27:48 +0000 Subject: Don't send trailing space in MODE messages Under some circumstances ngIRCd currently issues a channel MODE message with a trailing space after the last parameter, which isn't permitted by the grammar in RFC 2812 section 2.3.1: http://tools.ietf.org/html/rfc2812#section-2.3.1 The following patch modifies mode-test.e to expose this, and modifies irc-mode.c to correct it. --- ChangeLog | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index af9d14ca..e73d4c9a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,6 +11,8 @@ ngIRCd HEAD + - Under some circumstances ngIRCd issued + channel MODE messages with a trailing space. (Dana Dahlstrom) - IRC_WHO now supports search patterns and will test this against user nickname/servername/hostname, etc. as required by RFC 2812, Section 3.6.1. (reported by Dana Dahlstrom) @@ -744,4 +746,4 @@ ngIRCd 0.0.1, 31.12.2001 -- -$Id: ChangeLog,v 1.337 2008/02/11 11:06:33 fw Exp $ +$Id: ChangeLog,v 1.338 2008/02/16 11:27:48 fw Exp $ -- cgit 1.4.1