summaryrefslogtreecommitdiff
path: root/src/scripts/Commands/cs_reset.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_reset.cpp
parent1e5af6d3bec7ab99c1e79165ef19e9bf781e6c46 (diff)
Script/Commands: fix all command permissions
Diffstat (limited to 'src/scripts/Commands/cs_reset.cpp')
-rw-r--r--src/scripts/Commands/cs_reset.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/Commands/cs_reset.cpp b/src/scripts/Commands/cs_reset.cpp
index d05ace9dd3..efeb967442 100644
--- a/src/scripts/Commands/cs_reset.cpp
+++ b/src/scripts/Commands/cs_reset.cpp
@@ -34,11 +34,11 @@ public:
{ "spells", SEC_ADMINISTRATOR, true, &HandleResetSpellsCommand, "" },
{ "stats", SEC_ADMINISTRATOR, true, &HandleResetStatsCommand, "" },
{ "talents", SEC_ADMINISTRATOR, true, &HandleResetTalentsCommand, "" },
- { "all", SEC_ADMINISTRATOR, true, &HandleResetAllCommand, "" }
+ { "all", SEC_CONSOLE, true, &HandleResetAllCommand, "" }
};
static std::vector<ChatCommand> commandTable =
{
- { "reset", SEC_ADMINISTRATOR, true, nullptr, "", resetCommandTable }
+ { "reset", SEC_ADMINISTRATOR, true, nullptr, "", resetCommandTable }
};
return commandTable;
}