summaryrefslogtreecommitdiff
path: root/src/scripts/Commands/cs_gm.cpp
diff options
context:
space:
mode:
authorShinDarth <borzifrancesco@gmail.com>2016-08-21 20:50:02 +0200
committerShinDarth <borzifrancesco@gmail.com>2016-08-21 20:50:02 +0200
commitd641365b3b8e3aac2c918c3a2bc10acfbd960813 (patch)
treed5c77338f866b1d94a6070501108758086b0e5af /src/scripts/Commands/cs_gm.cpp
parent1e5af6d3bec7ab99c1e79165ef19e9bf781e6c46 (diff)
Script/Commands: fix all command permissions
Diffstat (limited to 'src/scripts/Commands/cs_gm.cpp')
-rw-r--r--src/scripts/Commands/cs_gm.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/scripts/Commands/cs_gm.cpp b/src/scripts/Commands/cs_gm.cpp
index 06b2033d52..466ff6b567 100644
--- a/src/scripts/Commands/cs_gm.cpp
+++ b/src/scripts/Commands/cs_gm.cpp
@@ -30,15 +30,15 @@ public:
static std::vector<ChatCommand> gmCommandTable =
{
{ "chat", SEC_GAMEMASTER, false, &HandleGMChatCommand, "" },
- { "fly", SEC_ADMINISTRATOR, false, &HandleGMFlyCommand, "" },
- //{ "ingame", SEC_PLAYER, true, &HandleGMListIngameCommand, "" },
- { "list", SEC_ADMINISTRATOR, true, &HandleGMListFullCommand, "" },
+ { "fly", SEC_GAMEMASTER, false, &HandleGMFlyCommand, "" },
+ //{ "ingame", SEC_PLAYER, true, &HandleGMListIngameCommand, "" },
+ { "list", SEC_GAMEMASTER, true, &HandleGMListFullCommand, "" },
{ "visible", SEC_GAMEMASTER, false, &HandleGMVisibleCommand, "" },
{ "", SEC_GAMEMASTER, false, &HandleGMCommand, "" }
};
static std::vector<ChatCommand> commandTable =
{
- { "gm", SEC_GAMEMASTER, false, nullptr, "", gmCommandTable }
+ { "gm", SEC_MODERATOR, false, nullptr, "", gmCommandTable }
};
return commandTable;
}