Parcourir la source

- added quit in ts-query

Ksawery Kuklinski il y a 8 ans
Parent
commit
d56a0754d3
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      ts-query.js

+ 1 - 0
ts-query.js

@@ -83,5 +83,6 @@ exports.query = function(host, port, callback){
   socket.write("use 1\n");
   socket.write("serverinfo\n");
   socket.write("clientlist\n");
+  socket.write("quit\n");
   socket.end();
 };