WEBIRC: Don't respect hostname when DNS is disabled bug167-WebircIPAnoDNS
authorAlexander Barton <alex@barton.de>
Fri, 27 Dec 2013 21:34:47 +0000 (22:34 +0100)
committerAlexander Barton <alex@barton.de>
Fri, 27 Dec 2013 21:34:47 +0000 (22:34 +0100)
commit1a628fff51fcfddde391e6c0f27686835e1b6d2e
tree3700493507b6ef6d40e166f958221809a83327a3
parentbd33bd770decd470577487fa4bd399cb1d8426fc
WEBIRC: Don't respect hostname when DNS is disabled

When DNS lookups are disabled, don't set the hostname received by the
WEBIRC command, but use the IP address instead.

Reported by Toni Spets <toni.spets@iki.fi>, thanks!

Closes bug #167.
src/ngircd/irc-login.c