Skip to content

Commit

Permalink
Fixed channels to have a default empty mode (closes #65)
Browse files Browse the repository at this point in the history
  • Loading branch information
martynsmith committed Nov 16, 2011
1 parent c3c9862 commit 5426374
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/irc.js
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,8 @@ Client.prototype.chanData = function( name, create ) { // {{{
this.chans[key] = this.chans[key] || {
key: key,
serverName: name,
users: {}
users: {},
mode: '',
};
}

Expand Down

0 comments on commit 5426374

Please sign in to comment.