Author: zothar
Date: 2006-07-03 01:45:35 +0000 (Mon, 03 Jul 2006)
New Revision: 9436
Modified:
trunk/freenet/src/freenet/node/fcp/ModifyPeer.java
Log:
Fixed a default value committed in r9435.
Modified: trunk/freenet/src/freenet/node/fcp/ModifyPeer.java
===================================================================
--- trunk/freenet/src/freenet/node/fcp/ModifyPeer.java 2006-07-03 01:03:12 UTC
(rev 9435)
+++ trunk/freenet/src/freenet/node/fcp/ModifyPeer.java 2006-07-03 01:45:35 UTC
(rev 9436)
@@ -16,8 +16,6 @@
public ModifyPeer(SimpleFieldSet fs) {
this.fs = fs;
- //this.withMetadata = withMetadata;
- //this.withVolatile = withVolatile;
}
public SimpleFieldSet getFieldSet() {
@@ -53,7 +51,7 @@
String isListenOnlyString = fs.get("IsListenOnly");
if(isListenOnlyString != null) {
if(!isListenOnlyString.equals("")) {
-
pn.setListenOnly(Fields.stringToBool(isListenOnlyString, true));
+
pn.setListenOnly(Fields.stringToBool(isListenOnlyString, false));
} else {
ProtocolErrorMessage msg = new
ProtocolErrorMessage(ProtocolErrorMessage.MESSAGE_PARSE_ERROR, false,
"IsListenOnly had no value", nodeIdentifier);
handler.outputHandler.queue(msg);