aboutsummaryrefslogtreecommitdiff
path: root/juick-commands/src/main/java/com/juick/command/BlacklistUser.java
diff options
context:
space:
mode:
Diffstat (limited to 'juick-commands/src/main/java/com/juick/command/BlacklistUser.java')
-rw-r--r--juick-commands/src/main/java/com/juick/command/BlacklistUser.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/juick-commands/src/main/java/com/juick/command/BlacklistUser.java b/juick-commands/src/main/java/com/juick/command/BlacklistUser.java
index f2682c6a..b138e816 100644
--- a/juick-commands/src/main/java/com/juick/command/BlacklistUser.java
+++ b/juick-commands/src/main/java/com/juick/command/BlacklistUser.java
@@ -1,7 +1,6 @@
package com.juick.command;
import com.juick.User;
-import com.juick.server.protocol.ProtocolListener;
import com.juick.service.PrivacyQueriesService;
import com.juick.service.UserService;
import lombok.Getter;
@@ -39,7 +38,7 @@ public class BlacklistUser extends MultiArgsCommand {
}
@Override
- protected String execute(User sender, ProtocolListener protocolListener, String... arguments) {
+ protected String execute(User sender, MessageListener protocolListener, String... arguments) {
User blUser = getUserService().getUserByName(arguments[0]);
if (blUser != null) {
PrivacyQueriesService.PrivacyResult result = getPrivacyQueriesService().blacklistUser(sender, blUser);