From d153c984089b4da0d32f48913d546ad32b6cdd3c Mon Sep 17 00:00:00 2001 From: momo5502 Date: Sun, 9 Jul 2017 20:53:21 +0200 Subject: [PATCH] [Node] Ignore invalid nodes --- src/Components/Modules/Node.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Components/Modules/Node.cpp b/src/Components/Modules/Node.cpp index 9fd9e02c..3c179128 100644 --- a/src/Components/Modules/Node.cpp +++ b/src/Components/Modules/Node.cpp @@ -136,6 +136,8 @@ namespace Components if (address.isLocal() || address.isSelf()) return; #endif + if (!address.isValid()) return; + std::lock_guard _(Node::Mutex); for (auto& session : Node::Nodes) {