From 8c8b240617fd8ae7a4c4743dfe34303a9fec3775 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 7 Feb 2007 03:16:44 +0000 Subject: [PATCH] fixed a bug in group reading fixed an error in the group config file --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40451 --- configs/admin_groups.cfg | 2 +- plugins/admin-flatfile/admin-groups.sp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/admin_groups.cfg b/configs/admin_groups.cfg index ed4c41427..26f5f16e3 100644 --- a/configs/admin_groups.cfg +++ b/configs/admin_groups.cfg @@ -16,7 +16,7 @@ Groups * ":CSDM" "allow" * "csdm_enable" "deny" */ - Commands + Overrides { } "flags" "abcdefghiz" diff --git a/plugins/admin-flatfile/admin-groups.sp b/plugins/admin-flatfile/admin-groups.sp index 605c426c6..342212868 100644 --- a/plugins/admin-flatfile/admin-groups.sp +++ b/plugins/admin-flatfile/admin-groups.sp @@ -111,7 +111,7 @@ public SMCResult:ReadGroups_KeyValue(Handle:smc, } else { /* If we can't find the group, we'll need to schedule a reparse */ new GroupId:id = FindAdmGroup(value); - if (id == INVALID_GROUP_ID) + if (id != INVALID_GROUP_ID) { SetAdmGroupImmuneFrom(g_CurGrp, id); } else {