diff --git a/core/logic/AdminCache.cpp b/core/logic/AdminCache.cpp index ef192cd6..0ddcbfaa 100644 --- a/core/logic/AdminCache.cpp +++ b/core/logic/AdminCache.cpp @@ -1581,7 +1581,7 @@ bool AdminCache::CanAdminTarget(AdminId id, AdminId target) { id = grp_table[i]; num = GetGroupImmunityCount(id); - for (unsigned int j=0; j<num; i++) + for (unsigned int j=0; j<num; j++) { other = GetGroupImmunity(id, j); for (unsigned int k=0; k<pUser->grp_count; k++)