Module: ngircd.git Branch: master Commit: 5cb0804c8aceb1935a2444cdb434f56ba518248e URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=5cb08...
Author: Alexander Barton alex@barton.de Date: Fri Dec 30 14:52:48 2011 +0100
Fixed handling of WHO commands
This fixes two bugs: - "WHO <nick>" returned nothing at all if the user was "+i" - "WHO <nick|nickmask>" returned channel names instead of "*" when the user was member of a (visible) channel.
Clean up code and add documentation as well.
---
src/ngircd/irc-info.c | 223 +++++++++++++++++++++++++++------------------- src/testsuite/who-test.e | 66 ++++++++++---- 2 files changed, 179 insertions(+), 110 deletions(-)
Diff: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commitdiff;h=5...