summaryrefslogtreecommitdiff
path: root/src/scripts/Commands/cs_gm.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_gm.cpp
parentd7fdf7c940317aebcbbeeaf156469e1571e01498 (diff)
Fix commands and starting to use nullptr instead of NULL
Diffstat (limited to 'src/scripts/Commands/cs_gm.cpp')
-rw-r--r--src/scripts/Commands/cs_gm.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/scripts/Commands/cs_gm.cpp b/src/scripts/Commands/cs_gm.cpp
index 3debda2bbc..06b2033d52 100644
--- a/src/scripts/Commands/cs_gm.cpp
+++ b/src/scripts/Commands/cs_gm.cpp
@@ -34,13 +34,11 @@ public:
//{ "ingame", SEC_PLAYER, true, &HandleGMListIngameCommand, "" },
{ "list", SEC_ADMINISTRATOR, true, &HandleGMListFullCommand, "" },
{ "visible", SEC_GAMEMASTER, false, &HandleGMVisibleCommand, "" },
- { "", SEC_GAMEMASTER, false, &HandleGMCommand, "" },
- { NULL, 0, false, NULL, "" }
+ { "", SEC_GAMEMASTER, false, &HandleGMCommand, "" }
};
static std::vector<ChatCommand> commandTable =
{
- { "gm", SEC_GAMEMASTER, false, NULL, "", gmCommandTable },
- { NULL, 0, false, NULL, "" }
+ { "gm", SEC_GAMEMASTER, false, nullptr, "", gmCommandTable }
};
return commandTable;
}