From 8a345e658266478dae0d1252793e380ad01ba139 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Wed, 6 Mar 2013 19:28:24 +0100 Subject: [PATCH] Target player gets notified of op --- src/API/BanAPI.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/API/BanAPI.php b/src/API/BanAPI.php index f81396bc..2ffa60c7 100644 --- a/src/API/BanAPI.php +++ b/src/API/BanAPI.php @@ -103,6 +103,7 @@ class BanAPI{ $this->ops->set($user); $this->ops->save(); $output .= $user." is now op\n"; + $this->server->api->chat->sendTo(false, "You are now op.", $user); break; case "deop": $user = array_shift($params); @@ -112,6 +113,7 @@ class BanAPI{ $this->ops->remove($user); $this->ops->save(); $output .= $user." is not longer op\n"; + $this->server->api->chat->sendTo(false, "You are not longer op.", $user); break; case "kick": if(!isset($params[0])){