rramthun 19 years ago
parent b991d2e7dd
commit 10e7d6f02b

@ -92,7 +92,7 @@ public class yacyPeerActions {
} }
public void updateMySeed() { public void updateMySeed() {
if (sb.getConfig("peerName", "nameless").equals("nameless")) { if (sb.getConfig("peerName", "anomic").equals("anomic")) {
// generate new peer name // generate new peer name
String newPeerName = serverCore.publicIP() + yacyCore.speedKey + serverSystem.infoKey() + (System.currentTimeMillis() & 99); String newPeerName = serverCore.publicIP() + yacyCore.speedKey + serverSystem.infoKey() + (System.currentTimeMillis() & 99);
newPeerName = newPeerName.replace('.', '-'); newPeerName = newPeerName.replace('.', '-');

Loading…
Cancel
Save