don't save hast ip/address when host==official_network_host
This commit is contained in:
parent
71da9d90ff
commit
2fa4ffcc0f
1 changed files with 2 additions and 1 deletions
|
@ -215,7 +215,8 @@ server_type open_connection(display& disp, const std::string& original_host)
|
|||
}
|
||||
} while(!(data.child("join_lobby") || data.child("join_game")));
|
||||
|
||||
preferences::set_network_host(h);
|
||||
if (h != preferences::official_network_host())
|
||||
preferences::set_network_host(h);
|
||||
|
||||
if (data.child("join_lobby")) {
|
||||
return WESNOTHD_SERVER;
|
||||
|
|
Loading…
Add table
Reference in a new issue