X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Fnet%2Fpterodactylus%2Fsone%2Ffcp%2FDeleteReplyCommand.java;h=6a018facdae32fb75f2239b9e1c210c87b694536;hb=8775a0be01123cc2b3375cb1f3f61a260d29b1ad;hp=8b2f5b7f0913207bf298b692d07ab53f1947f7b3;hpb=76ed638264e531a26e35647d13702db865a52321;p=Sone.git diff --git a/src/main/java/net/pterodactylus/sone/fcp/DeleteReplyCommand.java b/src/main/java/net/pterodactylus/sone/fcp/DeleteReplyCommand.java index 8b2f5b7..6a018fa 100644 --- a/src/main/java/net/pterodactylus/sone/fcp/DeleteReplyCommand.java +++ b/src/main/java/net/pterodactylus/sone/fcp/DeleteReplyCommand.java @@ -1,5 +1,5 @@ /* - * Sone - DeleteReplyCommand.java - Copyright © 2011–2015 David Roden + * Sone - DeleteReplyCommand.java - Copyright © 2011–2016 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 @@ -51,6 +51,7 @@ public class DeleteReplyCommand extends AbstractSoneCommand { if (!reply.getSone().isLocal()) { return new ErrorResponse(401, "Not allowed."); } + getCore().deleteReply(reply); return new Response("ReplyDeleted", new SimpleFieldSetBuilder().get()); }