Small syntax correction to v9.1.1 NitradoAPI.js change

This commit is contained in:
IrPgFKS0 committed 2023-09-02 23:02:11 -07:00
1 parent d5507e4276
commit 583a036003
1 file changed
+3 -4
+3 -4
View File
@@ -79,7 +79,7 @@ module.exports = {
await new Promise(resolve => setTimeout(resolve, retryDelay)); // Delay before retrying
}
},
/*
Allows more explicit function names outside this file;
i.e BanPlayer() & UnbanPlayer() that both call to the
@@ -88,6 +88,5 @@ module.exports = {
*/
BanPlayer: async (client, gamertag) => module.exports.HandlePlayerBan(client, gamertag, true),
UnbanPlayer: async (client, gamertag) => module.exports.HandlePlayerBan(client, gamertag, false),
}
UnbanPlayer: async (client, gamertag) => module.exports.HandlePlayerBan(client, gamertag, false)
}