Skip to content
Browse files

Merge pull request #3 from mfrobben/master

Thanks for the fix, sorry didn't see it before now will incorporate it.  For some reason I stopped getting my GitHub notices on new messages and keep forgetting to check my message box.
  • Loading branch information...
2 parents aa73f0c + e986c75 commit 6d9e39f2e262fb62fd7ef3bc17ddf526ae2beab7 @jdarling committed Oct 8, 2012
Showing with 4 additions and 1 deletion.
  1. +3 −0 .gitignore
  2. +1 −1 lib/MongoMQ.js
View
3 .gitignore
@@ -13,3 +13,6 @@ Thumbs.db
# Folder config file
Desktop.ini
+
+#Editor metadata
+.idea
View
2 lib/MongoMQ.js
@@ -354,7 +354,7 @@ MongoMQ.prototype.removeListener = function(event, handler){
}
};
if((idx!==false)&&(idx>-1)){
- self.listeners[i].stop(listenerStopped);
+ self.listeners[idx].stop(listenerStopped);
return true;
}
return false;

0 comments on commit 6d9e39f

Please sign in to comment.
Something went wrong with that request. Please try again.