Typo in length

This commit is contained in:
Shoghi Cervantes Pueyo 2012-11-23 15:50:16 +01:00
parent 7c25b8c614
commit 6b12832b02
3 changed files with 5 additions and 5 deletions

View file

@ -66,7 +66,7 @@ class CustomPacketHandler{
$id = ord($this->get(1));
$raw = $this->get($len - 1);
$pk = new CustomPacketHandler($id, $raw);
$pk->data["lenght"] = $len;
$pk->data["length"] = $len;
$pk->data["id"] = $id;
$pk->data["counter"] = $c;
$pk->data["packetName"] = $pk->name;