aboutsummaryrefslogtreecommitdiff
path: root/juick-commands/src/main/java/com/juick/command/Login.java
diff options
context:
space:
mode:
Diffstat (limited to 'juick-commands/src/main/java/com/juick/command/Login.java')
-rw-r--r--juick-commands/src/main/java/com/juick/command/Login.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/juick-commands/src/main/java/com/juick/command/Login.java b/juick-commands/src/main/java/com/juick/command/Login.java
index 0dc6a021..3092a5f5 100644
--- a/juick-commands/src/main/java/com/juick/command/Login.java
+++ b/juick-commands/src/main/java/com/juick/command/Login.java
@@ -1,7 +1,6 @@
package com.juick.command;
import com.juick.User;
-import com.juick.server.protocol.ProtocolListener;
import com.juick.service.UserService;
import lombok.Getter;
import org.springframework.beans.factory.annotation.Autowired;
@@ -36,7 +35,7 @@ public class Login implements Command {
}
@Override
- public String execute(User sender, ProtocolListener protocolListener, String command) {
+ public String execute(User sender, MessageListener protocolListener, String command) {
return "http://juick.com/login?hash=" + getUserService().getHashByUID(sender.getUid());
}
}