mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-09 00:08:01 +00:00
Script/Commands: fix all command permissions
This commit is contained in:
@@ -25,12 +25,12 @@ public:
|
||||
{
|
||||
static std::vector<ChatCommand> achievementCommandTable =
|
||||
{
|
||||
{ "add", SEC_ADMINISTRATOR, false, &HandleAchievementAddCommand, "" },
|
||||
{ "add", SEC_GAMEMASTER, false, &HandleAchievementAddCommand, "" },
|
||||
{ "checkall", SEC_ADMINISTRATOR, false, &HandleAchievementCheckAllCommand, "" }
|
||||
};
|
||||
static std::vector<ChatCommand> commandTable =
|
||||
{
|
||||
{ "achievement", SEC_ADMINISTRATOR, false, nullptr, "", achievementCommandTable }
|
||||
{ "achievement", SEC_GAMEMASTER, false, nullptr, "", achievementCommandTable }
|
||||
};
|
||||
return commandTable;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user