diff --git a/core/src/main/groovy/com/muwire/core/hostcache/HostCache.groovy b/core/src/main/groovy/com/muwire/core/hostcache/HostCache.groovy index ea76d72e..27b27e97 100644 --- a/core/src/main/groovy/com/muwire/core/hostcache/HostCache.groovy +++ b/core/src/main/groovy/com/muwire/core/hostcache/HostCache.groovy @@ -55,6 +55,8 @@ class HostCache extends Service { } void onConnectionEvent(ConnectionEvent e) { + if (e.incoming) + return Destination dest = e.endpoint.destination Host host = hosts.get(dest) if (host == null) {