Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Commit

Permalink
Fixed a serious bug in the purge command
Browse files Browse the repository at this point in the history
  • Loading branch information
Serena1432 committed Jul 15, 2021
1 parent 2ac0601 commit b21ea75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/purge.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ function info(client, message, args, language) {
}
var c = 1;
while (c < 50) {
c++;
if (!inTeam) {
c++;
var team;
eval("team = client.economyManager[message.author.id].team" + c);
if (team && team.members.length) {
Expand Down

0 comments on commit b21ea75

Please sign in to comment.