summaryrefslogtreecommitdiff
path: root/src/scripts/Commands/cs_titles.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_titles.cpp
parentd7fdf7c940317aebcbbeeaf156469e1571e01498 (diff)
Fix commands and starting to use nullptr instead of NULL
Diffstat (limited to 'src/scripts/Commands/cs_titles.cpp')
-rw-r--r--src/scripts/Commands/cs_titles.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/scripts/Commands/cs_titles.cpp b/src/scripts/Commands/cs_titles.cpp
index 89ebe8c571..d5ef8d67c4 100644
--- a/src/scripts/Commands/cs_titles.cpp
+++ b/src/scripts/Commands/cs_titles.cpp
@@ -26,21 +26,18 @@ public:
{
static std::vector<ChatCommand> titlesSetCommandTable =
{
- { "mask", SEC_GAMEMASTER, false, &HandleTitlesSetMaskCommand, "" },
- { NULL, 0, false, NULL, "" }
+ { "mask", SEC_GAMEMASTER, false, &HandleTitlesSetMaskCommand, "" }
};
static std::vector<ChatCommand> titlesCommandTable =
{
{ "add", SEC_GAMEMASTER, false, &HandleTitlesAddCommand, "" },
{ "current", SEC_GAMEMASTER, false, &HandleTitlesCurrentCommand, "" },
{ "remove", SEC_GAMEMASTER, false, &HandleTitlesRemoveCommand, "" },
- { "set", SEC_GAMEMASTER, false, NULL, "", titlesSetCommandTable },
- { NULL, 0, false, NULL, "" }
+ { "set", SEC_GAMEMASTER, false, nullptr, "", titlesSetCommandTable }
};
static std::vector<ChatCommand> commandTable =
{
- { "titles", SEC_GAMEMASTER, false, NULL, "", titlesCommandTable },
- { NULL, 0, false, NULL, "" }
+ { "titles", SEC_GAMEMASTER, false, nullptr, "", titlesCommandTable }
};
return commandTable;
}