diff --git a/src/network/tcp.py b/src/network/tcp.py index c02d1ef5..b18080c9 100644 --- a/src/network/tcp.py +++ b/src/network/tcp.py @@ -194,7 +194,7 @@ class TCPConnection(BMProto, TLSDispatcher): (k, v) for k, v in nodes.iteritems() if v["lastseen"] > int(time.time()) - maximumAgeOfNodesThatIAdvertiseToOthers - and v["rating"] >= 0 and len(k.host) <= 22 + and v["rating"] >= 0 and not k.host.endswith('.onion') ] # sent 250 only if the remote isn't interested in it elemCount = min(