uncomment for upstream compatibility
This commit is contained in:
@@ -173,8 +173,8 @@ pub fn init(
|
|||||||
// nss implementation does.
|
// nss implementation does.
|
||||||
// - Uncomment this code to behave how Classics behave.
|
// - Uncomment this code to behave how Classics behave.
|
||||||
// - Leave commented to be compatible with Ours Truly NSS.
|
// - Leave commented to be compatible with Ours Truly NSS.
|
||||||
//if (users.items(.gid)[user_idx] == groups.items(.gid)[i])
|
if (users.items(.gid)[user_idx] == groups.items(.gid)[i])
|
||||||
// continue;
|
continue;
|
||||||
members.len += 1;
|
members.len += 1;
|
||||||
members[members.len - 1] = user_idx;
|
members[members.len - 1] = user_idx;
|
||||||
try user2groups[user_idx].append(allocator, @intCast(u32, i));
|
try user2groups[user_idx].append(allocator, @intCast(u32, i));
|
||||||
|
|||||||
Reference in New Issue
Block a user