]> arthur.barton.de Git - ngircd-alex.git/commit
Make IRC_WHO also search username/servername/hostname.
authorFlorian Westphal <fw@strlen.de>
Mon, 11 Feb 2008 11:06:31 +0000 (11:06 +0000)
committerFlorian Westphal <fw@strlen.de>
Tue, 26 Feb 2008 22:49:33 +0000 (23:49 +0100)
commit4d152b771e17c23823af995f86912d1550f4c244
treea96e59afae7c91b64a9422b53473fc6ca79f8a77
parentc634303765c20083c8f554f4d4084526d3e58fef
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.
ChangeLog
NEWS
src/ngircd/irc-info.c
src/ngircd/irc-info.h
src/testsuite/Makefile.am
src/testsuite/who-away-test.e [new file with mode: 0644]