*) 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
pull/1/head
theli 20 years ago
parent 9f5d239051
commit 98230a67f0

@ -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";

Loading…
Cancel
Save