From 159d1c5024fa7a6c24fad942992beb8e650e36dd Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Fri, 12 Apr 2013 23:09:28 +0200 Subject: [PATCH] Added missing parameters --- src/API/BanAPI.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/API/BanAPI.php b/src/API/BanAPI.php index 743676f2..5963f2ef 100644 --- a/src/API/BanAPI.php +++ b/src/API/BanAPI.php @@ -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"){