summaryrefslogtreecommitdiff
path: root/src/scripts/Commands/cs_server.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_server.cpp
parent1e5af6d3bec7ab99c1e79165ef19e9bf781e6c46 (diff)
Script/Commands: fix all command permissions
Diffstat (limited to 'src/scripts/Commands/cs_server.cpp')
-rw-r--r--src/scripts/Commands/cs_server.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/scripts/Commands/cs_server.cpp b/src/scripts/Commands/cs_server.cpp
index dac175f171..c725bcffed 100644
--- a/src/scripts/Commands/cs_server.cpp
+++ b/src/scripts/Commands/cs_server.cpp
@@ -64,19 +64,19 @@ public:
{
{ "corpses", SEC_GAMEMASTER, true, &HandleServerCorpsesCommand, "" },
{ "exit", SEC_CONSOLE, true, &HandleServerExitCommand, "" },
- { "idlerestart", SEC_ADMINISTRATOR, true, nullptr, "", serverIdleRestartCommandTable },
- { "idleshutdown", SEC_ADMINISTRATOR, true, nullptr, "", serverIdleShutdownCommandTable },
+ { "idlerestart", SEC_ADMINISTRATOR, true, nullptr, "", serverIdleRestartCommandTable },
+ { "idleshutdown", SEC_ADMINISTRATOR, true, nullptr, "", serverIdleShutdownCommandTable },
{ "info", SEC_PLAYER, true, &HandleServerInfoCommand, "" },
{ "motd", SEC_PLAYER, true, &HandleServerMotdCommand, "" },
- { "restart", SEC_ADMINISTRATOR, true, nullptr, "", serverRestartCommandTable },
- { "shutdown", SEC_ADMINISTRATOR, true, nullptr, "", serverShutdownCommandTable },
- { "set", SEC_ADMINISTRATOR, true, nullptr, "", serverSetCommandTable },
+ { "restart", SEC_ADMINISTRATOR, true, nullptr, "", serverRestartCommandTable },
+ { "shutdown", SEC_ADMINISTRATOR, true, nullptr, "", serverShutdownCommandTable },
+ { "set", SEC_ADMINISTRATOR, true, nullptr, "", serverSetCommandTable },
{ "togglequerylog", SEC_CONSOLE, true, &HandleServerToggleQueryLogging, "" }
};
static std::vector<ChatCommand> commandTable =
{
- { "server", SEC_ADMINISTRATOR, true, nullptr, "", serverCommandTable }
+ { "server", SEC_PLAYER, true, nullptr, "", serverCommandTable }
};
return commandTable;
}