Added capability to unblock addresses without a restart

This commit is contained in:
Dylan K. Taylor
2017-08-14 14:12:06 +01:00
parent 0c798222a4
commit ae3a8a5493
5 changed files with 17 additions and 1 deletions

View File

@ -152,6 +152,10 @@ class RakLibInterface implements ServerInstance, AdvancedSourceInterface{
$this->interface->blockAddress($address, $timeout);
}
public function unblockAddress(string $address){
$this->interface->unblockAddress($address);
}
public function handleRaw($address, $port, $payload){
$this->server->handlePacket($address, $port, $payload);
}