summaryrefslogtreecommitdiff
path: root/src/scripts/Commands/cs_lfg.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_lfg.cpp
parent1e5af6d3bec7ab99c1e79165ef19e9bf781e6c46 (diff)
Script/Commands: fix all command permissions
Diffstat (limited to 'src/scripts/Commands/cs_lfg.cpp')
-rw-r--r--src/scripts/Commands/cs_lfg.cpp14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/scripts/Commands/cs_lfg.cpp b/src/scripts/Commands/cs_lfg.cpp
index 86f057cd0a..2a290b049f 100644
--- a/src/scripts/Commands/cs_lfg.cpp
+++ b/src/scripts/Commands/cs_lfg.cpp
@@ -34,18 +34,16 @@ public:
{
static std::vector<ChatCommand> lfgCommandTable =
{
- { "player", SEC_GAMEMASTER, false, &HandleLfgPlayerInfoCommand, "" },
- { "group", SEC_GAMEMASTER, false, &HandleLfgGroupInfoCommand, "" },
- { "queue", SEC_GAMEMASTER, false, &HandleLfgQueueInfoCommand, "" },
- { "clean", SEC_ADMINISTRATOR, false, &HandleLfgCleanCommand, "" },
- { "options", SEC_ADMINISTRATOR, false, &HandleLfgOptionsCommand, "" },
- { nullptr, SEC_PLAYER, false, nullptr, "" }
+ { "player", SEC_MODERATOR, false, &HandleLfgPlayerInfoCommand, "" },
+ { "group", SEC_MODERATOR, false, &HandleLfgGroupInfoCommand, "" },
+ { "queue", SEC_MODERATOR, false, &HandleLfgQueueInfoCommand, "" },
+ { "clean", SEC_ADMINISTRATOR, false, &HandleLfgCleanCommand, "" },
+ { "options", SEC_GAMEMASTER, false, &HandleLfgOptionsCommand, "" },
};
static std::vector<ChatCommand> commandTable =
{
- { "lfg", SEC_GAMEMASTER, false, nullptr, "", lfgCommandTable },
- { nullptr, SEC_PLAYER, false, nullptr, "" }
+ { "lfg", SEC_GAMEMASTER, false, nullptr, "", lfgCommandTable },
};
return commandTable;
}