From 98230a67f0e78c23e8598bd8631da83006ac7c71 Mon Sep 17 00:00:00 2001 From: theli Date: Fri, 17 Jun 2005 08:16:43 +0000 Subject: [PATCH] *) correcting version number for remote port forwarding feature check git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@296 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/yacy/yacyClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/de/anomic/yacy/yacyClient.java b/source/de/anomic/yacy/yacyClient.java index abeb60bc9..29e5654ff 100644 --- a/source/de/anomic/yacy/yacyClient.java +++ b/source/de/anomic/yacy/yacyClient.java @@ -147,7 +147,7 @@ public class yacyClient { * * @see serverCore#portForwardingEnabled */ - if ((!serverCore.portForwardingEnabled) || (otherPeerVersion > (float)0.383)) { + if ((!serverCore.portForwardingEnabled) || (otherPeerVersion >= (float)0.383)) { String mytype = (String) result.get("yourtype"); if (mytype == null) mytype = "junior"; if ((yacyCore.seedDB.mySeed.get("PeerType", "junior").equals("principal")) && (mytype.equals("senior"))) mytype = "principal";