From 398c7b66fe64c19fa79433498c2e858a994ebe5e Mon Sep 17 00:00:00 2001 From: QuiteQuiet Date: Sun, 15 Oct 2017 12:43:19 +0200 Subject: [PATCH] Fix inconsistent indentation (#4060) --- chat-plugins/scavengers.js | 4 ++-- punishments.js | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/chat-plugins/scavengers.js b/chat-plugins/scavengers.js index afd9a9d6d3..1c1b897cc5 100644 --- a/chat-plugins/scavengers.js +++ b/chat-plugins/scavengers.js @@ -640,8 +640,8 @@ let commands = { * -------------- * Individual game commands for each Scavenger Game */ - game: 'games', - games: { + game: 'games', + games: { knockoutgames: 'kogames', kogames: function (target, room, user) { if (room.id !== 'scavengers') return this.errorReply("Scavenger games can only be created in the scavengers room."); diff --git a/punishments.js b/punishments.js index b564ca80c3..bcefc83031 100644 --- a/punishments.js +++ b/punishments.js @@ -1248,13 +1248,13 @@ Punishments.isRoomBanned = function (user, roomid) { for (let ip in user.ips) { punishment = Punishments.roomIps.nestedGet(roomid, ip); if (punishment) { - if (punishment[0] === 'ROOMBAN') { + if (punishment[0] === 'ROOMBAN') { return punishment; - } else if (punishment[0] === 'BLACKLIST') { + } else if (punishment[0] === 'BLACKLIST') { if (Punishments.sharedIps.has(ip) && user.autoconfirmed) return; return punishment; - } + } } } };