From 10abee3c0bfa4ebb99bd15bd879c02f51cee38e0 Mon Sep 17 00:00:00 2001 From: LilShieru Date: Fri, 16 Jul 2021 05:55:09 +0700 Subject: [PATCH] Fixed a serious bug in the purge command --- commands/purge.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/purge.js b/commands/purge.js index 41e98ba..a74defb 100644 --- a/commands/purge.js +++ b/commands/purge.js @@ -43,7 +43,7 @@ function info(client, message, args, language) { eval("team = client.economyManager[message.author.id].team" + c); if (team && team.members.length) { for (var j = 0; j < team.members.length; j++) { - if (team.members[j] == waifu.id) return inTeam = true; + if (team.members[j] == waifu.id) inTeam = true; } } }