diff --git a/PluralKit.Core/Stores.cs b/PluralKit.Core/Stores.cs index 0e1d32ba..c4f37ed1 100644 --- a/PluralKit.Core/Stores.cs +++ b/PluralKit.Core/Stores.cs @@ -641,7 +641,7 @@ namespace PluralKit { public async Task GetSystemMemberCount(PKSystem system, bool includePrivate) { var query = "select count(*) from members where system = @Id"; - if (includePrivate) query += " and member_privacy = 1"; // 1 = public + if (!includePrivate) query += " and member_privacy = 1"; // 1 = public using (var conn = await _conn.Obtain()) return await conn.ExecuteScalarAsync(query, system);