Permalink
Browse files

fix event names

  • Loading branch information...
1 parent 3f85c26 commit b91706bda8410f06d5529cafa327fc37b492bf20 Timothy committed Feb 15, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/transmission.js
View
@@ -221,7 +221,7 @@ Transmission.prototype.verify = function(ids, callback) {
self.emit('error', err)
callback ? callback(err) : null
}, function(err, result) {
- self.emit('start-now', ids)
+ self.emit('verify', ids)
callback ? callback(err) : null
}))
}
@@ -237,7 +237,7 @@ Transmission.prototype.reannounce = function(ids, callback) {
self.emit('error', err)
callback ? callback(err) : null
}, function(err, result) {
- self.emit('start-now', ids)
+ self.emit('reannounce', ids)
callback ? callback(err) : null
}))
}

0 comments on commit b91706b

Please sign in to comment.