Script/Commands: fix all command permissions

This commit is contained in:
ShinDarth
2016-08-21 20:50:02 +02:00
parent 1e5af6d3be
commit d641365b3b
31 changed files with 991 additions and 456 deletions

View File

@@ -28,15 +28,15 @@ public:
{
static std::vector<ChatCommand> teleCommandTable =
{
{ "add", SEC_ADMINISTRATOR, false, &HandleTeleAddCommand, "" },
{ "del", SEC_ADMINISTRATOR, true, &HandleTeleDelCommand, "" },
{ "add", SEC_ADMINISTRATOR, false, &HandleTeleAddCommand, "" },
{ "del", SEC_ADMINISTRATOR, true, &HandleTeleDelCommand, "" },
{ "name", SEC_GAMEMASTER, true, &HandleTeleNameCommand, "" },
{ "group", SEC_GAMEMASTER, false, &HandleTeleGroupCommand, "" },
{ "", SEC_GAMEMASTER, false, &HandleTeleCommand, "" }
{ "", SEC_MODERATOR, false, &HandleTeleCommand, "" }
};
static std::vector<ChatCommand> commandTable =
{
{ "tele", SEC_GAMEMASTER, false, nullptr, "", teleCommandTable }
{ "tele", SEC_MODERATOR, false, nullptr, "", teleCommandTable }
};
return commandTable;
}