mirror of
https://github.com/tribufu/node-gamedig
synced 2026-06-01 09:42:41 +00:00
unnecessary hex
This commit is contained in:
parent
132ad08720
commit
ca3682fd5b
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ module.exports = require('./protocols/core').extend({
|
||||||
run: function(state) {
|
run: function(state) {
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
||||||
this.tcpSend('\x6A\x73\x6F\x6E', function(buffer) {
|
this.tcpSend('json', function(buffer) {
|
||||||
if(buffer.length < 10) return;
|
if(buffer.length < 10) return;
|
||||||
var str = buffer.toString();
|
var str = buffer.toString();
|
||||||
var json;
|
var json;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue