X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Ffcp%2FGetLocalSonesCommand.java;h=46190044539c879ec2bda11d898d210ef3bd5ff7;hb=50ce65f69e49ed10abeedaeb6615ffb37a0c0772;hp=1054f761a3a7feffaed091a52104bb800e26f479;hpb=6a426e5c3a82f3e63a8763d2a5ad57f311bc6065;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/fcp/GetLocalSonesCommand.java b/src/main/java/net/pterodactylus/sone/fcp/GetLocalSonesCommand.java index 1054f76..4619004 100644 --- a/src/main/java/net/pterodactylus/sone/fcp/GetLocalSonesCommand.java +++ b/src/main/java/net/pterodactylus/sone/fcp/GetLocalSonesCommand.java @@ -1,5 +1,5 @@ /* - * Sone - GetLocalSonesCommand.java - Copyright © 2011 David Roden + * Sone - GetLocalSonesCommand.java - Copyright © 2011–2012 David Roden * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -45,7 +45,7 @@ public class GetLocalSonesCommand extends AbstractSoneCommand { */ @Override public Response execute(SimpleFieldSet parameters, Bucket data, AccessType accessType) throws FcpException { - return new Response(encodeSones(getCore().getLocalSones())); + return new Response("ListLocalSones", encodeSones(getCore().getLocalSones(), "LocalSones.")); } }