From eeecc7ae470cb4aeade17d37e815532772e292e5 Mon Sep 17 00:00:00 2001 From: LevelVoltiac Date: Tue, 6 Jan 2015 01:46:12 +1100 Subject: [PATCH 1/2] Update basicBot.js --- basicBot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basicBot.js b/basicBot.js index ab795de3..2ed9f921 100644 --- a/basicBot.js +++ b/basicBot.js @@ -196,7 +196,7 @@ maximumAfk: 120, afkRemoval: true, maximumDc: 60, - bouncerPlus: true, + bouncerPlus: false, lockdownEnabled: false, lockGuard: false, maximumLocktime: 10, @@ -394,7 +394,7 @@ if (typeof obj === "object") u = obj; else u = API.getUser(obj); if (botCreatorIDs.indexOf(u.id) > -1) return 10; - if (u.gRole < 2) return u.role; + if (u.gRole < 0) return u.role; else { switch (u.gRole) { case 2: From df95069bb92c2784634b5ea936b63b9c99b4ba91 Mon Sep 17 00:00:00 2001 From: LevelVoltiac Date: Tue, 6 Jan 2015 01:50:05 +1100 Subject: [PATCH 2/2] Update basicBot.js --- basicBot.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/basicBot.js b/basicBot.js index 2ed9f921..37f9e1d0 100644 --- a/basicBot.js +++ b/basicBot.js @@ -1135,8 +1135,8 @@ return 'Function.' }; var u = API.getUser(); - if (basicBot.userUtilities.getPermission(u) < 2) return API.chatLog(basicBot.chat.greyuser); - if (basicBot.userUtilities.getPermission(u) === 2) API.chatLog(basicBot.chat.bouncer); + if (basicBot.userUtilities.getPermission(u) < 0) return API.chatLog(basicBot.chat.greyuser); + if (basicBot.userUtilities.getPermission(u) === 0) API.chatLog(basicBot.chat.greyuser); basicBot.connectAPI(); API.moderateDeleteChat = function (cid) { $.ajax({