mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-16 14:05:28 +00:00
Core/build: fixed build on Linux
Fixed an error about nullptr on cs_ticket.cpp
This commit is contained in:
@@ -238,7 +238,7 @@ public:
|
|||||||
{
|
{
|
||||||
// Cannot add response to ticket, assigned to someone else
|
// Cannot add response to ticket, assigned to someone else
|
||||||
//! Console excluded
|
//! Console excluded
|
||||||
Player* player = handler->GetSession() ? handler->GetSession()->GetPlayer() : nullptr;
|
Player* player = handler->GetSession() ? handler->GetSession()->GetPlayer() : NULL;
|
||||||
if (player && ticket->IsAssignedNotTo(player->GetGUID()))
|
if (player && ticket->IsAssignedNotTo(player->GetGUID()))
|
||||||
{
|
{
|
||||||
handler->PSendSysMessage(LANG_COMMAND_TICKETALREADYASSIGNED, ticket->GetId());
|
handler->PSendSysMessage(LANG_COMMAND_TICKETALREADYASSIGNED, ticket->GetId());
|
||||||
|
|||||||
Reference in New Issue
Block a user