Added automatic/manual RakLib IP address, block addresses when exceptions are thrown

This commit is contained in:
Shoghi Cervantes
2014-12-26 13:33:41 +01:00
parent 1ac17abec0
commit 902ba81e02
3 changed files with 9 additions and 1 deletions

View File

@@ -636,6 +636,8 @@ class Server{
if($this->logger instanceof MainLogger){
$this->logger->logException($e);
}
$this->mainInterface->blockAddress($address, 600);
}
//TODO: add raw packet events
}