]> arthur.barton.de Git - ngircd-alex.git/commit
New RPL_WHOISHOST_MSG(378): show hostname and IP address
authorAlexander Barton <alex@barton.de>
Sun, 22 Jan 2012 21:41:39 +0000 (22:41 +0100)
committerAlexander Barton <alex@barton.de>
Sun, 22 Jan 2012 21:41:39 +0000 (22:41 +0100)
commit594fdd02aaa482b8273a8d24aa48510ecf0981ba
treed45dba132a3373dd55a0cbb157de4d54d780dbdd
parent6a308fcb42eae1de168699ed432b49b610073ede
New RPL_WHOISHOST_MSG(378): show hostname and IP address

The numeric RPL_WHOISHOST_MSG(378) returns the DNS hostname (if
available) and the IP address of a client in the WHOIS reply.

Only the user itself and local IRC operators get this numeric.
src/ngircd/irc-info.c
src/ngircd/messages.h