]> arthur.barton.de Git - ngircd-alex.git/commit
Always cloak client hostname, if needed
authorAlexander Barton <alex@barton.de>
Tue, 28 Aug 2012 21:26:43 +0000 (23:26 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 28 Aug 2012 21:26:43 +0000 (23:26 +0200)
commit33fae67579eeab31d7f96f9e53f0529f584b0b1f
tree2766ddebade0b7b9df3e7c7be85861b6c657efa4
parent864015fa3ff42a026b90e39f73fb9d5f6eaab826
Always cloak client hostname, if needed

Not only cloak the hostname in Client_MaskCloaked(), but also in
Client_HostnameCloaked() -- so move the actual cloaking to this function
and call it in Client_MaskCloaked() to get the (cloaked) hostname.

This fixes USERHOST not displaying the correctly cloaked hostname,
for example.
src/ngircd/client.c