Added ban reload()

This commit is contained in:
Michael Yoo 2013-01-19 21:59:33 +09:00
parent aef32f2012
commit c049b5fb72

View File

@ -181,6 +181,12 @@ class BanAPI{
$this->commandHandler("banip", array("pardon", $ip));
}
public function reload(){
$this->commandHandler("ban", array("reload"));
$this->commandHandler("banip", array("reload"));
$this->commandHandler("whitelist", array("reload"));
}
public function isIPBanned($ip){
if($this->server->api->dhandle("api.ban.ip.check", $ip) === false){
return true;