diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-03-20 08:56:38 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-03-20 08:56:38 -0300 |
commit | fa768d6b1301c8ed5806b36ea2671d8c672a572f (patch) | |
tree | 71489fd6cb8a7bc0ae8cd0f652231e103d70bb2f /npc/commands/rate-management.txt | |
parent | 45d0d0bcc1104d56304d6df15a0904d93e60bcb6 (diff) | |
download | serverdata-fa768d6b1301c8ed5806b36ea2671d8c672a572f.tar.gz serverdata-fa768d6b1301c8ed5806b36ea2671d8c672a572f.tar.bz2 serverdata-fa768d6b1301c8ed5806b36ea2671d8c672a572f.tar.xz serverdata-fa768d6b1301c8ed5806b36ea2671d8c672a572f.zip |
Stop using getgmlevel() and use is_gm() is_admin() and is_staff().
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)
Diffstat (limited to 'npc/commands/rate-management.txt')
-rw-r--r-- | npc/commands/rate-management.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/commands/rate-management.txt b/npc/commands/rate-management.txt index 670d45d0c..a9cabd13c 100644 --- a/npc/commands/rate-management.txt +++ b/npc/commands/rate-management.txt @@ -20,7 +20,7 @@ } OnCall: - if (!is_evtc()) + if (!is_gm()) { end; } @@ -139,7 +139,7 @@ OnInit: } OnCall: - if (!is_evtc()) + if (!is_gm()) { end; } |