Fix commands and starting to use nullptr instead of NULL

This commit is contained in:
Yehonal
2016-08-20 09:49:37 +02:00
parent d7fdf7c940
commit 1b1767e9f4
32 changed files with 394 additions and 479 deletions

View File

@@ -26,13 +26,11 @@ public:
static std::vector<ChatCommand> achievementCommandTable =
{
{ "add", SEC_ADMINISTRATOR, false, &HandleAchievementAddCommand, "" },
{ "checkall", SEC_ADMINISTRATOR, false, &HandleAchievementCheckAllCommand, "" },
{ NULL, 0, false, NULL, "" }
{ "checkall", SEC_ADMINISTRATOR, false, &HandleAchievementCheckAllCommand, "" }
};
static std::vector<ChatCommand> commandTable =
{
{ "achievement", SEC_ADMINISTRATOR, false, NULL, "", achievementCommandTable },
{ NULL, 0, false, NULL, "" }
{ "achievement", SEC_ADMINISTRATOR, false, nullptr, "", achievementCommandTable }
};
return commandTable;
}