]> arthur.barton.de Git - ngircd-alex.git/commit
Show active user modes in WHOIS reply
authorDNS777 <dns@rbose.org>
Sat, 6 Oct 2012 19:56:59 +0000 (21:56 +0200)
committerAlexander Barton <alex@barton.de>
Sat, 6 Oct 2012 19:56:59 +0000 (21:56 +0200)
commit56cdc2175c4cbe6abdf45f2d32016c260f3728f7
treec9290adadbf7ebeb077953c3abae312c2e8636e5
parentde453d71cb1bcd78b365f16e994003e913a03148
Show active user modes in WHOIS reply

Implement numeric RPL_WHOISMODES_MSG(379) and show user modes in the
reply of the WHOIS command for the user himself or, if MorePrivacy
isn't set, for request initiated by an IRC operator.

Numeric 379 is used by Unreal and InspIRCd for this purpose, too.

Closes bug #129.
src/ngircd/irc-info.c
src/ngircd/messages.h