Do not save locally resolved hostname for local entry but take
[silc.git] / lib / silcclient / client.c
index f44aefbdd5ce2c9717683b03b03ec8e8d8947246..5c94551db4f68dab47d5482cf3815e825ff0a802 100644 (file)
@@ -1618,8 +1618,6 @@ void silc_client_receive_new_id(SilcClient client,
   conn->local_entry->nickname = conn->nickname;
   if (!conn->local_entry->username)
     conn->local_entry->username = strdup(client->username);
-  if (!conn->local_entry->hostname)
-    conn->local_entry->hostname = strdup(client->hostname);
   if (!conn->local_entry->server)
     conn->local_entry->server = strdup(conn->remote_host);
   conn->local_entry->id = conn->local_id;