Added missing parameters

This commit is contained in:
Shoghi Cervantes Pueyo 2013-04-12 23:09:28 +02:00
parent e2b68a01d1
commit 159d1c5024

View File

@ -279,19 +279,19 @@ class BanAPI{
}
public function ban($username){
$this->commandHandler("ban", array("add", $username));
$this->commandHandler("ban", array("add", $username), "console", "");
}
public function pardon($username){
$this->commandHandler("ban", array("pardon", $username));
$this->commandHandler("ban", array("pardon", $username), "console", "");
}
public function banIP($ip){
$this->commandHandler("banip", array("add", $ip));
$this->commandHandler("banip", array("add", $ip), "console", "");
}
public function pardonIP($ip){
$this->commandHandler("banip", array("pardon", $ip));
$this->commandHandler("banip", array("pardon", $ip), "console", "");
}
public function kick($username, $reason = "No Reason"){