diff options
author | ShinDarth <borzifrancesco@gmail.com> | 2016-08-21 20:50:02 +0200 |
---|---|---|
committer | ShinDarth <borzifrancesco@gmail.com> | 2016-08-21 20:50:02 +0200 |
commit | d641365b3b8e3aac2c918c3a2bc10acfbd960813 (patch) | |
tree | d5c77338f866b1d94a6070501108758086b0e5af /src/scripts/Commands/cs_lfg.cpp | |
parent | 1e5af6d3bec7ab99c1e79165ef19e9bf781e6c46 (diff) |
Script/Commands: fix all command permissions
Diffstat (limited to 'src/scripts/Commands/cs_lfg.cpp')
-rw-r--r-- | src/scripts/Commands/cs_lfg.cpp | 14 |
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; } |