Query: Send responses to the source interface only, instead of all the things

who the fuck wrote this shitty code?
This commit is contained in:
Dylan K. Taylor
2018-02-27 13:22:15 +00:00
parent 0ba1b58ee0
commit d6d47feda9
3 changed files with 12 additions and 9 deletions

View File

@ -165,7 +165,7 @@ class RakLibInterface implements ServerInstance, AdvancedSourceInterface{
}
public function handleRaw(string $address, int $port, string $payload) : void{
$this->server->handlePacket($address, $port, $payload);
$this->server->handlePacket($this, $address, $port, $payload);
}
public function sendRawPacket(string $address, int $port, string $payload){