summaryrefslogtreecommitdiff
path: root/src/scripts/Commands/cs_reset.cpp
diff options
context:
space:
mode:
authorYehonal <yehonal.azeroth@gmail.com>2016-08-20 09:49:37 +0200
committerYehonal <yehonal.azeroth@gmail.com>2016-08-20 09:49:37 +0200
commit1b1767e9f4c20d1e20541968de98d00814f63247 (patch)
treeee95040cf29644aff151f9aebdf3bfd9e18ae08d /src/scripts/Commands/cs_reset.cpp
parentd7fdf7c940317aebcbbeeaf156469e1571e01498 (diff)
Fix commands and starting to use nullptr instead of NULL
Diffstat (limited to 'src/scripts/Commands/cs_reset.cpp')
-rw-r--r--src/scripts/Commands/cs_reset.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/scripts/Commands/cs_reset.cpp b/src/scripts/Commands/cs_reset.cpp
index dab643fd95..d05ace9dd3 100644
--- a/src/scripts/Commands/cs_reset.cpp
+++ b/src/scripts/Commands/cs_reset.cpp
@@ -34,13 +34,11 @@ public:
{ "spells", SEC_ADMINISTRATOR, true, &HandleResetSpellsCommand, "" },
{ "stats", SEC_ADMINISTRATOR, true, &HandleResetStatsCommand, "" },
{ "talents", SEC_ADMINISTRATOR, true, &HandleResetTalentsCommand, "" },
- { "all", SEC_ADMINISTRATOR, true, &HandleResetAllCommand, "" },
- { NULL, 0, false, NULL, "" }
+ { "all", SEC_ADMINISTRATOR, true, &HandleResetAllCommand, "" }
};
static std::vector<ChatCommand> commandTable =
{
- { "reset", SEC_ADMINISTRATOR, true, NULL, "", resetCommandTable },
- { NULL, 0, false, NULL, "" }
+ { "reset", SEC_ADMINISTRATOR, true, nullptr, "", resetCommandTable }
};
return commandTable;
}