]> arthur.barton.de Git - ngircd-alex.git/commitdiff
write_whoreply(): respect hostname cloaking bug102-CloakHost
authorAlexander Barton <alex@barton.de>
Tue, 17 Aug 2010 22:01:14 +0000 (00:01 +0200)
committerAlexander Barton <alex@barton.de>
Tue, 17 Aug 2010 22:01:14 +0000 (00:01 +0200)
src/ngircd/irc-info.c

index 3da4c83ff00937ed2bb6dd7486e2cd24800db819..905799eb52fc21886bec08a44e4c88553d2ef7b0 100644 (file)
@@ -728,9 +728,11 @@ IRC_VERSION( CLIENT *Client, REQUEST *Req )
 static bool
 write_whoreply(CLIENT *Client, CLIENT *c, const char *channelname, const char *flags)
 {
-       return IRC_WriteStrClient(Client, RPL_WHOREPLY_MSG, Client_ID(Client), channelname,
-                       Client_User(c), Client_Hostname(c), Client_ID(Client_Introducer(c)), Client_ID(c),
-                       flags, Client_Hops(c), Client_Info(c));
+       return IRC_WriteStrClient(Client, RPL_WHOREPLY_MSG, Client_ID(Client),
+                                 channelname, Client_User(c),
+                                 Client_HostnameCloaked(c),
+                                 Client_ID(Client_Introducer(c)), Client_ID(c),
+                                 flags, Client_Hops(c), Client_Info(c));
 }
 
 
@@ -1329,7 +1331,6 @@ IRC_Send_NAMES( CLIENT *Client, CHANNEL *Chan )
 } /* IRC_Send_NAMES */
 
 
-
 /**
  * Send the ISUPPORT numeric (005).
  * This numeric indicates the features that are supported by this server.