diff --git a/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java b/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java index a085864c17ef1ccb1d12ff1f2a86cf68e05fc36c..96d64bbcbae0e02580b0c1aaca0d43b9937cc622 100644 --- a/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java +++ b/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java @@ -2343,9 +2343,9 @@ public class I2PSnarkServlet extends BasicServlet { String name = t.name; String homeURL = t.baseURL; String announceURL = t.announceURL.replace("=", "="); - boolean isOpen = openTrackers.contains(t.announceURL); boolean isPrivate = privateTrackers.contains(t.announceURL); boolean isKnownOpen = _manager.util().isKnownOpenTracker(t.announceURL); + boolean isOpen = isKnownOpen || openTrackers.contains(t.announceURL); buf.append("<tr><td><input type=\"checkbox\" class=\"optbox\" name=\"delete_") .append(name).append("\" title=\"").append(_("Delete")).append("\">" + "</td><td>").append(name) @@ -2369,9 +2369,10 @@ public class I2PSnarkServlet extends BasicServlet { .append(announceURL).append("\""); if (isPrivate) { buf.append(" checked=\"checked\""); - } else { - if (isKnownOpen) - buf.append(" disabled=\"disabled\""); + } else if (isKnownOpen || + t.announceURL.equals("http://diftracker.i2p/announce.php") || + t.announceURL.equals("http://tracker2.postman.i2p/announce.php")) { + buf.append(" disabled=\"disabled\""); } buf.append(">" + "</td><td>").append(urlify(announceURL, 35))