[Friends] Consider localhost has a bad address
This commit is contained in:
parent
678167ca38
commit
2e6f8b1f9d
@ -339,6 +339,9 @@ namespace Components
|
||||
entry->serverName.clear();
|
||||
}
|
||||
|
||||
// Block localhost
|
||||
if(entry->server.getType() == Game::NA_LOOPBACK) entry->server.setType(Game::NA_BAD);
|
||||
|
||||
if (entry->server.getType() != Game::NA_BAD && entry->server != oldAddress)
|
||||
{
|
||||
Node::AddNode(entry->server);
|
||||
|
Loading…
Reference in New Issue
Block a user