Commit befaa3fd authored by Frago9876543210's avatar Frago9876543210
Browse files

fixed kick message. Thanks @ivan691

parent 8b113db9
...@@ -532,6 +532,7 @@ class Session{ ...@@ -532,6 +532,7 @@ class Session{
public function close(){ public function close(){
$data = "\x60\x00\x08\x00\x00\x00\x00\x00\x00\x00\x15"; $data = "\x60\x00\x08\x00\x00\x00\x00\x00\x00\x00\x15";
$this->addEncapsulatedToQueue(EncapsulatedPacket::fromBinary($data)); //CLIENT_DISCONNECT packet 0x15 $this->addEncapsulatedToQueue(EncapsulatedPacket::fromBinary($data)); //CLIENT_DISCONNECT packet 0x15
$this->sendQueue();
$this->sessionManager = null; $this->sessionManager = null;
} }
} }
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment