Skip to content

Commit

Permalink
Fix #152 by creating truly empty maps
Browse files Browse the repository at this point in the history
  • Loading branch information
kegsay committed Aug 31, 2016
1 parent 657e319 commit d259988
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/irc/ClientPool.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ ClientPool.prototype.createIrcClient = function(ircClientConfig, matrixUser, isB

if (this._virtualClients[server.domain] === undefined) {
this._virtualClients[server.domain] = {
nicks: {},
userIds: {}
nicks: Object.create(null),
userIds: Object.create(null)
};
}

Expand Down

0 comments on commit d259988

Please sign in to comment.