public boolean hasCommandPerms(final Player player,
            final GameCommand command) {
        if (MonsterIRC.getHookManager().getPermissionsHook() != null) {
            if (perms != null) {
                return perms.has(player, "irc.admin")
                        || perms.has(player, command.getPermission())
                        || player.isOp();
            } else {
                return player.isOp();
            }
        } else {
            return player.isOp();
        }
    }