Merge pull request #51 from Helias/patch-1

Core/build: fixed build on Linux
This commit is contained in:
Francesco Borzì
2016-08-09 16:17:13 +02:00
committed by GitHub

View File

@@ -238,7 +238,7 @@ public:
{
// Cannot add response to ticket, assigned to someone else
//! Console excluded
Player* player = handler->GetSession() ? handler->GetSession()->GetPlayer() : nullptr;
Player* player = handler->GetSession() ? handler->GetSession()->GetPlayer() : NULL;
if (player && ticket->IsAssignedNotTo(player->GetGUID()))
{
handler->PSendSysMessage(LANG_COMMAND_TICKETALREADYASSIGNED, ticket->GetId());