commit 575485eb82698a926d38634be2b3e4dce4a5dfd6 from: Alexander Barton date: Tue Aug 17 19:02:39 2010 UTC WHOWAS: respect hostname cloaking Store cloaked hostname if user mode "x" is set when the client disconnects from the server. commit - 3fd4f320b726e91f674c424e0c5ff5abce2c6f09 commit + 575485eb82698a926d38634be2b3e4dce4a5dfd6 blob - dd4113e48e83c25641d90c3695cf9ff47942baa4 blob + f73a2d1ef0b46242bbeed67a8f0a64608b46ab34 --- src/ngircd/client.c +++ src/ngircd/client.c @@ -1193,7 +1193,7 @@ Client_RegisterWhowas( CLIENT *Client ) sizeof( My_Whowas[slot].id )); strlcpy( My_Whowas[slot].user, Client_User( Client ), sizeof( My_Whowas[slot].user )); - strlcpy( My_Whowas[slot].host, Client_Hostname( Client ), + strlcpy( My_Whowas[slot].host, Client_HostnameCloaked( Client ), sizeof( My_Whowas[slot].host )); strlcpy( My_Whowas[slot].info, Client_Info( Client ), sizeof( My_Whowas[slot].info ));