@Override
    public boolean execute(final CommandSender sender, final String[] split) {
        if (sender instanceof Player) {
            if (MonsterIRC.getHandleManager().getPermissionsHandler() != null) {
                if (!MonsterIRC.getHandleManager().getPermissionsHandler()
                        .hasCommandPerms((Player) sender, this)) {
                    sender.sendMessage("[IRC] You don't have permission to preform that command.");
                    return true;
                }
            } else {
                sender.sendMessage("[IRC] Permissions not detected, unable to run any IRC commands.");
                return true;
            }
        }
        if (split.length < 4) {
            sender.sendMessage("Invalid usage, proper usage: /irc ban [channel] [user]");
            return true;
        } else {
            sender.sendMessage("Attempting to kick & ban " + split[3] + "!");
            for (final IRCChannel c : Variables.channels) {
                if (c.getChannel().equalsIgnoreCase(split[2])) {
                    MonsterIRC.getHandleManager().getIRCHandler()
                            .ban(split[3].toString(), c.getChannel());
                    return true;
                }
            }
            sender.sendMessage("Channel not found!");
            return true;
        }
    }