Fix inconsistent indentation (#4060)

This commit is contained in:
QuiteQuiet
2017-10-15 12:43:19 +02:00
committed by Guangcong Luo
parent da0242a3f4
commit 398c7b66fe
2 changed files with 5 additions and 5 deletions

View File

@@ -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.");

View File

@@ -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;
}
}
}
}
};