aboutsummaryrefslogtreecommitdiff
path: root/juick-commands/src/main/java/com/juick/command/ShowUserInfo.java
diff options
context:
space:
mode:
authorGravatar Anatoliy Sablin2017-11-06 16:54:00 +0300
committerGravatar Anatoliy Sablin2017-11-06 16:54:00 +0300
commitbb2a47ea3c17f92c1d55d8b0d26cd26a880373d9 (patch)
tree29a8b9773671357948a1841c4a8663dd83b87e2d /juick-commands/src/main/java/com/juick/command/ShowUserInfo.java
parent7fe4c65820d012d684405c56942b01da8e77bd23 (diff)
Moved to message listener.
Diffstat (limited to 'juick-commands/src/main/java/com/juick/command/ShowUserInfo.java')
-rw-r--r--juick-commands/src/main/java/com/juick/command/ShowUserInfo.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/juick-commands/src/main/java/com/juick/command/ShowUserInfo.java b/juick-commands/src/main/java/com/juick/command/ShowUserInfo.java
index 336b2e0d..53dd19e4 100644
--- a/juick-commands/src/main/java/com/juick/command/ShowUserInfo.java
+++ b/juick-commands/src/main/java/com/juick/command/ShowUserInfo.java
@@ -2,7 +2,6 @@ package com.juick.command;
import com.juick.User;
import com.juick.formatters.PlainTextFormatter;
-import com.juick.server.protocol.ProtocolListener;
import com.juick.service.MessagesService;
import com.juick.service.UserService;
import lombok.Getter;
@@ -40,7 +39,7 @@ public class ShowUserInfo extends MultiArgsCommand {
}
@Override
- protected String execute(User sender, ProtocolListener protocolListener, String... arguments) {
+ protected String execute(User sender, MessageListener protocolListener, String... arguments) {
User blogUser = getUserService().getUserByName(arguments[0]);
int page = arguments[1].length();
if (blogUser.getUid() > 0) {