I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 56440059 authored by zzz's avatar zzz
Browse files

i2psnark: Disable changing types for predefined trackers

parent 1c2b6fc0
No related branches found
No related tags found
No related merge requests found
......@@ -2311,11 +2311,16 @@ public class I2PSnarkServlet extends BasicServlet {
.append(announceURL).append("\"");
if (!(isOpen || isPrivate))
buf.append(" checked=\"checked\"");
else if (t.announceURL.equals("http://tracker.welterde.i2p/a"))
buf.append(" disabled=\"disabled\"");
buf.append(">" +
"</td><td><input type=\"radio\" class=\"optbox\" value=\"1\" name=\"ttype_")
.append(announceURL).append("\"");
if (isOpen)
buf.append(" checked=\"checked\"");
else if (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><input type=\"radio\" class=\"optbox\" value=\"2\" name=\"ttype_")
.append(announceURL).append("\"");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment