+/**
+ * Announce changed client hostname in the network.
+ *
+ * @param Client The client of which the hostname changed.
+ */
+static void
+Announce_Client_Hostname(CLIENT *Origin, CLIENT *Client)
+{
+ assert(Client != NULL);
+
+ /* Inform the client itself */
+ IRC_WriteStrClient(Client, RPL_HOSTHIDDEN_MSG, Client_ID(Client),
+ Client_HostnameDisplayed(Client));
+
+ /* Inform other servers in the network */
+ IRC_WriteStrServersPrefixFlag(Origin, Client_ThisServer(), 'M',
+ "METADATA %s host :%s", Client_ID(Client),
+ Client_HostnameDisplayed(Client));
+}
+
+