diff --git a/lib/xcore.js b/lib/xcore.js index e8d85a7..569a747 100644 --- a/lib/xcore.js +++ b/lib/xcore.js @@ -404,7 +404,6 @@ XClient.prototype.unpackEvent = function(type, seq, extra, code, raw, headerBuf) event.name = 'ClientMessage'; event.format = code; event.wid = extra; - event.type = raw.readUInt32LE(0); var format = (code === 32) ? 'LLLLL' : (code === 16) ? 'SSSSSSSSSS' : 'CCCCCCCCCCCCCCCCCCCC'; event.data = raw.unpack(format, 4); } else if (type == 34) {