aboutsummaryrefslogtreecommitdiff
path: root/juick-commands/src/main/java/com/juick/command/EditOrReplyMessage.java
diff options
context:
space:
mode:
Diffstat (limited to 'juick-commands/src/main/java/com/juick/command/EditOrReplyMessage.java')
-rw-r--r--juick-commands/src/main/java/com/juick/command/EditOrReplyMessage.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/juick-commands/src/main/java/com/juick/command/EditOrReplyMessage.java b/juick-commands/src/main/java/com/juick/command/EditOrReplyMessage.java
index 00ec4be9..e7fbf764 100644
--- a/juick-commands/src/main/java/com/juick/command/EditOrReplyMessage.java
+++ b/juick-commands/src/main/java/com/juick/command/EditOrReplyMessage.java
@@ -2,7 +2,6 @@ package com.juick.command;
import com.juick.Tag;
import com.juick.User;
-import com.juick.server.protocol.ProtocolListener;
import com.juick.service.MessagesService;
import com.juick.service.TagService;
import lombok.Getter;
@@ -45,7 +44,7 @@ public class EditOrReplyMessage extends MultiArgsCommand {
}
@Override
- protected String execute(User sender, ProtocolListener protocolListener, String... arguments) {
+ protected String execute(User sender, MessageListener protocolListener, String... arguments) {
int mid = NumberUtils.toInt(arguments[1]);
int rid = NumberUtils.toInt(arguments[4], 0);
String txt = arguments[5];