aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/game/TicketHandler.cpp2
-rw-r--r--src/game/WorldSession.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/game/TicketHandler.cpp b/src/game/TicketHandler.cpp
index fc2fd3d8383..d193f85ef3e 100644
--- a/src/game/TicketHandler.cpp
+++ b/src/game/TicketHandler.cpp
@@ -126,7 +126,7 @@ void WorldSession::HandleGMTicketGetTicketOpcode( WorldPacket & /*recv_data*/)
GM_Ticket *ticket = objmgr.GetGMTicketByPlayer(GetPlayer()->GetGUID());
if(ticket)
- SendGMTicketGetTicket(0x06, ticket->message);
+ SendGMTicketGetTicket(0x06, ticket->message.c_str());
else
SendGMTicketGetTicket(0x0A, 0);
diff --git a/src/game/WorldSession.h b/src/game/WorldSession.h
index 6dc31897414..f4842c0f0bc 100644
--- a/src/game/WorldSession.h
+++ b/src/game/WorldSession.h
@@ -171,7 +171,6 @@ class TRINITY_DLL_SPEC WorldSession
void SendTabardVendorActivate( uint64 guid );
void SendSpiritResurrect();
void SendBindPoint(Creature* npc);
- void SendGMTicketGetTicket(uint32 status, char const* text);
void SendAttackStop(Unit const* enemy);