diff --git a/src/org/yaaic/command/handler/ModeHandler.java b/src/org/yaaic/command/handler/ModeHandler.java index de38233..c125a83 100644 --- a/src/org/yaaic/command/handler/ModeHandler.java +++ b/src/org/yaaic/command/handler/ModeHandler.java @@ -41,10 +41,6 @@ public class ModeHandler extends BaseHandler @Override public void execute(String[] params, Server server, Conversation conversation, IRCService service) throws CommandException { - if (conversation.getType() != Conversation.TYPE_CHANNEL) { - throw new CommandException("Only usable from within a channel"); - } - if (params.length > 2) { String modes = BaseHandler.mergeParams(params, 2);