1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-09-07 05:07:56 +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

6
NEWS
View File

@@ -11,7 +11,9 @@
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.
- 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)
@@ -258,4 +260,4 @@ ngIRCd 0.0.1, 31.12.2001
--
$Id: NEWS,v 1.85 2008/02/05 14:41:50 fw Exp $
$Id: NEWS,v 1.86 2008/02/11 11:06:33 fw Exp $