Core/Chat: properly prevent crashes + cleaning (import from TrinityCore)

- Closes #111
This commit is contained in:
ShinDarth
2016-08-24 01:14:28 +02:00
parent 17061cbbb4
commit d538b86a47
5 changed files with 16 additions and 11 deletions

View File

@@ -82,9 +82,8 @@ public:
};
static std::vector<ChatCommand> commandTable =
{
{ "debug", SEC_GAMEMASTER, true, nullptr, "", debugCommandTable },
{ "wpgps", SEC_ADMINISTRATOR, false, &HandleWPGPSCommand, "", },
{ nullptr, SEC_PLAYER, false, nullptr, "", }
{ "debug", SEC_GAMEMASTER, true, nullptr, "", debugCommandTable },
{ "wpgps", SEC_ADMINISTRATOR, false, &HandleWPGPSCommand, "", }
};
return commandTable;
}