Skip to content

Commit

Permalink
Clean up PR #10
Browse files Browse the repository at this point in the history
  • Loading branch information
watson committed May 6, 2016
1 parent fda2f38 commit 89893f5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function Browser (mdns, opts, onup) {
this._mdns = mdns
this._onresponse = null
this._serviceMap = {}
this._txt = null
this._txt = dnsTxt(opts.txt)

if (!opts || !opts.type) {
this._name = WILDCARD
Expand All @@ -46,8 +46,6 @@ function Browser (mdns, opts, onup) {
this._wildcard = false
}

this._txt = dnsTxt(opts.txt)

this.services = []

if (onup) this.on('up', onup)
Expand Down

0 comments on commit 89893f5

Please sign in to comment.