Skip to content

Commit

Permalink
Pesky standards
Browse files Browse the repository at this point in the history
  • Loading branch information
team1257Simon authored Jul 29, 2016
1 parent d26a279 commit e11c2ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -1904,7 +1904,7 @@ exports.commands = {
if (!targetUser) return this.errorReply("User '" + name + "' not found.");
if (!(targetUser.locked || (room.bannedUsers[toId(name)] && room.bannedIps[targetUser.latestIp]) || user.can('rangeban'))) return this.errorReply("User '" + name + "' is not banned from this room or locked.");
let i = 0;
while(i < room.log.length) {
while (i < room.log.length) {
let message = room.log[i];
let split = message.split("|");
if (Users.get(split[3]) === this.targetUser || Users.get(split[3]).getAltUsers().indexOf(this.targetUser) >= 0) {
Expand Down

0 comments on commit e11c2ca

Please sign in to comment.