alarm rules
This commit is contained in:
4 files changed
+66
-45
No files matched your search
+2
-2
@@ -32,8 +32,8 @@ module.exports = {
|
||||
|
||||
let bans = res.data.gameserver.settings.general.bans;
|
||||
if (ban) bans += `${gamertag}\r\n`;
|
||||
if (!ban) bans = bans.replace(`${gamertag}\r\n`, '');
|
||||
if (ban != true && ban != false) {
|
||||
else if (!ban) bans = bans.replace(`${gamertag}\r\n`, '');
|
||||
else {
|
||||
client.error("Incorrect Ban Option: HandlePlayerBan")
|
||||
throw "Incorrect Ban Option: HandlePlayerBan"
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user