[Node] Ignore invalid nodes

This commit is contained in:
momo5502 2017-07-09 20:53:21 +02:00
parent 65a555e82b
commit d153c98408

View File

@ -136,6 +136,8 @@ namespace Components
if (address.isLocal() || address.isSelf()) return;
#endif
if (!address.isValid()) return;
std::lock_guard<std::recursive_mutex> _(Node::Mutex);
for (auto& session : Node::Nodes)
{