remove new trick for non-exported function

This commit is contained in:
Feross Aboukhadijeh 2014-05-11 16:41:47 -07:00
parent 5064a05dde
commit 94ae74b32d

View File

@ -34,7 +34,6 @@ inherits(Tracker, EventEmitter)
*/
function Tracker (client, announceUrl, interval, opts) {
var self = this
if (!(self instanceof Tracker)) return new Tracker(client, announceUrl, interval, opts)
EventEmitter.call(self)
self._opts = opts || {}