Skip to content

Commit

Permalink
Merge pull request #292 from apeiron/fix-updatemaxlinelength
Browse files Browse the repository at this point in the history
Set self.hostMask to the empty string to elegantly solve #286
  • Loading branch information
Chris Nehren committed Jan 11, 2015
2 parents 8394482 + 38ea716 commit 10ce9ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/irc.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ function Client(server, nick, opt) {
self.activateFloodProtection();
}

self.hostMask = '';

// TODO - fail if nick or server missing
// TODO - fail if username has a space in it
if (self.opt.autoConnect === true) {
Expand Down

0 comments on commit 10ce9ca

Please sign in to comment.