X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Ffcp%2FGetSoneCommand.java;h=a3e1b5bbeccc9dfca83edc5864ade91bc2563828;hp=d0bd5ccd2e8fa893527fb56e14d699ff412407ed;hb=62573c314957b1851f4fbe693b8746686caa940a;hpb=914d5522692e7714ba5bdefb002fedc8e293f5fc
diff --git a/src/main/java/net/pterodactylus/sone/fcp/GetSoneCommand.java b/src/main/java/net/pterodactylus/sone/fcp/GetSoneCommand.java
index d0bd5cc..a3e1b5b 100644
--- a/src/main/java/net/pterodactylus/sone/fcp/GetSoneCommand.java
+++ b/src/main/java/net/pterodactylus/sone/fcp/GetSoneCommand.java
@@ -29,8 +29,6 @@ import freenet.support.SimpleFieldSet;
/**
* Implements the âGetSoneâ FCP command which returns {@link Profile}
* information about a {@link Sone}.
- *
- * @author David âBombeâ Roden
*/
public class GetSoneCommand extends AbstractSoneCommand {
@@ -50,8 +48,8 @@ public class GetSoneCommand extends AbstractSoneCommand {
@Override
public Response execute(SimpleFieldSet parameters) throws FcpException {
Sone sone = getSone(parameters, "Sone", false);
- Optional localSone = getSone(parameters, "LocalSone", false, false);
- return new Response("Sone", encodeSone(sone, "", localSone));
+ Optional localSone = getSone(parameters, "LocalSone", true, false);
+ return new Response("Sone", encodeSone(sone, "Sone.", localSone));
}
}