@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] PEX not detected, unable to run any IRC commands.");
                return true;
            }
        }
        if (sender instanceof Player) {
            sender.sendMessage("Attempting to connect to IRC server!");
        }
        final Thread t = new Thread(connect);
        t.setPriority(Thread.MAX_PRIORITY);
        t.setDaemon(false);
        t.start();
        if (sender instanceof Player) {
            sender.sendMessage("Successfully connected!");
        }
        return true;
    }