Skip to content

Commit

Permalink
Fixed mode handling safely ignore nick modes
Browse files Browse the repository at this point in the history
  • Loading branch information
martynsmith committed Oct 30, 2011
1 parent e1023ed commit e524294
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/irc.js
Expand Up @@ -130,6 +130,7 @@ function Client(server, nick, opt) {
util.log("MODE:" + message.args[0] + " sets mode: " + message.args[1]);

var channel = self.chanData(message.args[0]);
if ( !channel ) break;
var modeList = message.args[1].split('');
var adding = true;
var modeArgs = message.args.splice(2);
Expand Down

0 comments on commit e524294

Please sign in to comment.