diff options
| author | Alexander Barton <alex@barton.de> | 2010-08-17 21:02:39 +0200 |
|---|---|---|
| committer | Alexander Barton <alex@barton.de> | 2010-08-17 21:02:39 +0200 |
| commit | 575485eb82698a926d38634be2b3e4dce4a5dfd6 (patch) | |
| tree | 561980e07b3e16d2474b53e4b4c3748c3d4a619b /src | |
| parent | 3fd4f320b726e91f674c424e0c5ff5abce2c6f09 (diff) | |
| download | ngircd-575485eb82698a926d38634be2b3e4dce4a5dfd6.tar.gz ngircd-575485eb82698a926d38634be2b3e4dce4a5dfd6.zip | |
WHOWAS: respect hostname cloaking
Store cloaked hostname if user mode "x" is set when the client disconnects from the server.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ngircd/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ngircd/client.c b/src/ngircd/client.c index dd4113e4..f73a2d1e 100644 --- a/src/ngircd/client.c +++ b/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 )); |