]> arthur.barton.de Git - ngircd-alex.git/commit
Implement RFC 2812 handling of "0" argument to JOIN
authorDana Dahlstrom <dana@cs.ucsd.edu>
Tue, 5 Feb 2008 13:31:50 +0000 (13:31 +0000)
committerFlorian Westphal <fw@strlen.de>
Tue, 26 Feb 2008 22:49:33 +0000 (23:49 +0100)
commit6bd35bf090694a77b4a6c13c8fe5bb52e5905ec1
tree3bc591dbaba2d169050a1e8bb79f9f2f0a71f91d
parent3022d7cff35118b6651c1165227aa79d759d9bfd
Implement RFC 2812 handling of "0" argument to JOIN

The students in my software-engineering class are writing IRC clients in
Java, and I'm running ngIRCd as a sandbox for them to play in. We
noticed ngIRCd doesn't obey the "JOIN 0" command specified in RFC 2812:

   JOIN 0             ; Leave all currently joined
                      channels.

http://tools.ietf.org/html/rfc2812#section-3.2.1
I believe the following patch addresses this. Cheers!

[fw@strlen.de: put it into a seperate function]
ChangeLog
src/ngircd/irc-channel.c
src/testsuite/channel-test.e