From fa768d6b1301c8ed5806b36ea2671d8c672a572f Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 20 Mar 2018 08:56:38 -0300 Subject: Stop using getgmlevel() and use is_gm() is_admin() and is_staff(). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Our four power levels: getgmlevel() → Sponsors, etc. is_staff() → GM 5, Developers, test server, etc. is_gm() → GM 80, Game Master, controls the world is_admin() → GM 99, Administrator, controls the uniserver (pun intended) --- npc/commands/debug-quest.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/commands/debug-quest.txt') diff --git a/npc/commands/debug-quest.txt b/npc/commands/debug-quest.txt index 7cc3ff110..9c4254d60 100644 --- a/npc/commands/debug-quest.txt +++ b/npc/commands/debug-quest.txt @@ -61,7 +61,7 @@ function script GlobalQuestDebug { end; OnCall: - if (!debug && !is_trusted()) + if (!is_gm()) { end; } -- cgit v1.2.3-60-g2f50