From c53ea830ea1aedffe366cbcd5a5644c336dead95 Mon Sep 17 00:00:00 2001 From: Humerus Date: Sun, 15 Sep 2013 12:00:00 -0400 Subject: [PATCH] Made it so deop doesn't op the player. --- src/API/BanAPI.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/API/BanAPI.php b/src/API/BanAPI.php index ad713231e..a2ce4a5e3 100644 --- a/src/API/BanAPI.php +++ b/src/API/BanAPI.php @@ -132,8 +132,8 @@ class BanAPI{ $user = strtolower($params[0]); $player = $this->server->api->player->get($user); if(!($player instanceof Player)){ - $this->ops->set($user, false); - $this->ops->save($user); + $this->ops->remove($user); + $this->ops->save(); $output .= $user." is no longer op\n"; break; }