Update of /srv/cvs/ngircd/ngircd/src/ngircd In directory Arthur:/tmp/cvs-serv15560/src/ngircd
Modified Files: irc-channel.c Log Message: From: Dana Dahlstrom dana@cs.ucsd.edu
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]
Diff omitted, please use cvs directly or the web frontend located at http://arthur.ath.cx/cgi-bin/viewcvs.cgi/ngircd/.