From 533b175b66bdd3ca2982a1f21563ba9a119ee61e Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Tue, 9 Apr 2013 17:09:21 +0200 Subject: [PATCH] Syntax error --- src/API/BanAPI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/API/BanAPI.php b/src/API/BanAPI.php index 7a347acc..da54dfb2 100644 --- a/src/API/BanAPI.php +++ b/src/API/BanAPI.php @@ -316,7 +316,7 @@ class BanAPI{ $username = strtolower($username); if($this->isOp($username)){ return true; - if($this->server->api->dhandle("api.ban.whitelist.check", $ip) === false){ + }elseif($this->server->api->dhandle("api.ban.whitelist.check", $ip) === false){ return true; }elseif($this->whitelist->exists($username)){ return true;