summaryrefslogtreecommitdiff
path: root/src/scripts/Commands/cs_tele.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_tele.cpp
parent1e5af6d3bec7ab99c1e79165ef19e9bf781e6c46 (diff)
Script/Commands: fix all command permissions
Diffstat (limited to 'src/scripts/Commands/cs_tele.cpp')
-rw-r--r--src/scripts/Commands/cs_tele.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/scripts/Commands/cs_tele.cpp b/src/scripts/Commands/cs_tele.cpp
index 0dd3d9ab3a..95a1ed5f5e 100644
--- a/src/scripts/Commands/cs_tele.cpp
+++ b/src/scripts/Commands/cs_tele.cpp
@@ -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;
}