]> arthur.barton.de Git - ngircd.git/commitdiff
Don't send trailing space in MODE messages
authorDana Dahlstrom <dana+70@cs.ucsd.edu>
Sat, 16 Feb 2008 11:27:48 +0000 (11:27 +0000)
committerFlorian Westphal <fw@strlen.de>
Tue, 26 Feb 2008 22:49:33 +0000 (23:49 +0100)
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.


No differences found