Module: ngircd.git Branch: master Commit: 1a5ed654b43b7d4b14636fddd4ee79d3ebe749fa URL: http://ngircd.barton.de/cgi-bin/gitweb.cgi?p=ngircd.git&a=commit;h=1a5ed...
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" (reported by Cahata, thanks). - "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=1...