1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-09-10 06:16:01 +00:00

Make IRC_WHO also search username/servername/hostname.

Dana Dahlstrom reported that IRC_WHO did not follow
RFC 2812, Section 3.6.1. Specifically:

- IRC_WHO did not send "G" flag instead if "H" if client was away
- did not search username/servername/hostname etc. if argument
  was not a channel.

Fix all of the above and tidy things up a bit.
Also add IRC_WHO test script contributed by Dana.
This commit is contained in:
Florian Westphal
2008-02-11 11:06:31 +00:00
parent c634303765
commit 4d152b771e
6 changed files with 276 additions and 114 deletions

View File

@@ -11,7 +11,10 @@
ngIRCd HEAD
- 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)
- Add test cases for "WHO" command. (Dana Dahlstrom)
- implement RFC 2812 handling of "0" argument to 'JOIN':
must be treated as if the user had sent PART commands
for all channels the user is a member of. (Dana Dahlstrom)
@@ -741,4 +744,4 @@ ngIRCd 0.0.1, 31.12.2001
--
$Id: ChangeLog,v 1.336 2008/02/05 13:31:50 fw Exp $
$Id: ChangeLog,v 1.337 2008/02/11 11:06:33 fw Exp $