Permalink
Browse files

Fix so that .end() sets the online flag to false

  • Loading branch information...
1 parent b6ff3e6 commit 2f98756ac24592d5b1c87209120541715219c10a @kmpm committed Nov 22, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 mcquery.js
View
@@ -217,6 +217,7 @@ var Query = module.exports = function Query(){
this.close = function(){
socket.close();
+ m.online=false;
}

0 comments on commit 2f98756

Please sign in to comment.