aboutsummaryrefslogtreecommitdiff
path: root/juick-commands/src/main/java/com/juick/command/ShowMessage.java
diff options
context:
space:
mode:
Diffstat (limited to 'juick-commands/src/main/java/com/juick/command/ShowMessage.java')
-rw-r--r--juick-commands/src/main/java/com/juick/command/ShowMessage.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/juick-commands/src/main/java/com/juick/command/ShowMessage.java b/juick-commands/src/main/java/com/juick/command/ShowMessage.java
index f50dfba9..741f98b9 100644
--- a/juick-commands/src/main/java/com/juick/command/ShowMessage.java
+++ b/juick-commands/src/main/java/com/juick/command/ShowMessage.java
@@ -3,7 +3,6 @@ package com.juick.command;
import com.juick.Message;
import com.juick.User;
import com.juick.formatters.PlainTextFormatter;
-import com.juick.server.protocol.ProtocolListener;
import com.juick.service.MessagesService;
import lombok.Getter;
import org.apache.commons.lang3.math.NumberUtils;
@@ -41,7 +40,7 @@ public class ShowMessage extends MultiArgsCommand {
}
@Override
- protected String execute(User sender, ProtocolListener protocolListener, String... arguments) {
+ protected String execute(User sender, MessageListener protocolListener, String... arguments) {
boolean showReplies = arguments[1].length() > 0;
int mid = NumberUtils.toInt(arguments[0], 0);
if (mid == 0) {