Skip to content

Commit

Permalink
maintenance(#439): Fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
jirwin committed Jan 29, 2016
1 parent 5a9241e commit ef0c611
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lib/irc.js
Original file line number Diff line number Diff line change
Expand Up @@ -589,11 +589,10 @@ function Client(server, nick, opt) {

// Commands relating to OPER
case 'err_nooperhost':
if(self.opt.showErrors)
{
if (self.opt.showErrors) {
self.emit('error', message);
if (self.opt.showErrors)
util.log('\u001b[01;31mERROR: ' + util.inspect(message) + '\u001b[0m');
self.emit('error', message);
}
break;

Expand Down

0 comments on commit ef0c611

Please sign in to comment.