mirror of
https://github.com/tribufu/node-gamedig
synced 2026-06-01 09:42:41 +00:00
Ensure that created buffers aren't doing any charset conversion
This commit is contained in:
parent
906c21be61
commit
d6d7fee80f
3 changed files with 3 additions and 3 deletions
|
|
@ -8,7 +8,7 @@ module.exports = require('./protocols/valve').extend({
|
|||
},
|
||||
queryInfo: function(state,c) {
|
||||
var self = this;
|
||||
self.sendPacket(0x46,false,new Buffer('LSQ'),0x49,function(b) {
|
||||
self.sendPacket(0x46,false,'LSQ',0x49,function(b) {
|
||||
var reader = self.reader(b);
|
||||
|
||||
state.raw.protocol = reader.uint(1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue