DarknetPeerNode dpn = (DarknetPeerNode) pn;
String isDisabledString = fs.get("IsDisabled");
if(isDisabledString != null) {
if(!isDisabledString.equals("")) {
if(Fields.stringToBool(isDisabledString, false)) {
dpn.disablePeer();
} else {
dpn.enablePeer();
}
}
}