Skip to content

Commit

Permalink
Fix loading same page again and again
Browse files Browse the repository at this point in the history
  • Loading branch information
Preport committed May 2, 2021
1 parent 8bda623 commit f66434e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ async function getMembers(groupID: string | number, groupRank: EGroupRank, cooki
if (groupRank != 1) addToArray(admins, true);
if (!!groupRank) addToArray(mods);
if ((admins.length + mods.length < 51) || (admins.length == 0 && !groupRank) || (admins.length == 0 && mods.length == 0)) break;
page++;
}
return members
}
Expand Down

0 comments on commit f66434e

Please sign in to comment.