aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Handlers/TicketHandler.cpp
diff options
context:
space:
mode:
authorNayd <dnpd.dd@gmail.com>2015-02-04 20:46:32 +0000
committerNayd <dnpd.dd@gmail.com>2015-02-04 20:48:14 +0000
commit74f577e444da5983c8dac9a715241ab282e5d9c1 (patch)
tree6a580e3718f03df5f8e6b901d6ff63b266f141a7 /src/server/game/Handlers/TicketHandler.cpp
parent5398e482e3ec7a2ddd4d5aaf0a96da3a7a0b9516 (diff)
Core/Packets: Typo fixes and cleanup of 0f84c7c7b106fffa33e3c114858218f89e634da4
Diffstat (limited to 'src/server/game/Handlers/TicketHandler.cpp')
-rw-r--r--src/server/game/Handlers/TicketHandler.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/server/game/Handlers/TicketHandler.cpp b/src/server/game/Handlers/TicketHandler.cpp
index 17592d15e0e..5b2e197ae7a 100644
--- a/src/server/game/Handlers/TicketHandler.cpp
+++ b/src/server/game/Handlers/TicketHandler.cpp
@@ -159,19 +159,17 @@ void WorldSession::HandleGMTicketDeleteOpcode(WorldPacket & /*recvData*/)
void WorldSession::HandleGMTicketGetCaseStatusOpcode(WorldPackets::Ticket::GMTicketGetCaseStatus& /*packet*/)
{
- //TODO: Implement GmCase and handle this packet correctly
- TC_LOG_DEBUG("misc", "CMSG_GM_TICKET_GET_CASE_STATUS [%s]", GetPlayerInfo().c_str());
+ // TODO: Implement GmCase and handle this packet correctly
}
void WorldSession::HandleGMTicketGetTicketOpcode(WorldPackets::Ticket::GMTicketGetTicket& /*packet*/)
{
- TC_LOG_DEBUG("misc", "CMSG_GM_TICKET_GET_TICKET [%s]", GetPlayerInfo().c_str());
SendQueryTimeResponse();
if (GmTicket* ticket = sTicketMgr->GetTicketByPlayer(GetPlayer()->GetGUID()))
{
if (ticket->IsCompleted())
- //TODO: Update SMSG_GM_TICKET_RESPONSE
+ // TODO: Update SMSG_GM_TICKET_RESPONSE
ticket->SendResponse(this);
else
sTicketMgr->SendTicket(this, ticket);
@@ -182,13 +180,11 @@ void WorldSession::HandleGMTicketGetTicketOpcode(WorldPackets::Ticket::GMTicketG
void WorldSession::HandleGMTicketSystemStatusOpcode(WorldPackets::Ticket::GMTicketGetSystemStatus& /*packet*/)
{
- TC_LOG_DEBUG("misc", "CMSG_GM_TICKET_GET_SYSTEM_STATUS [%s]", GetPlayerInfo().c_str());
// Note: This only disables the ticket UI at client side and is not fully reliable
// Note: This disables the whole customer support UI after trying to send a ticket in disabled state (MessageBox: "GM Help Tickets are currently unavaiable."). UI remains disabled until the character relogs.
WorldPackets::Ticket::GMTicketSystemStatus response;
response.Status = sTicketMgr->GetStatus() ? GMTICKET_QUEUE_STATUS_ENABLED : GMTICKET_QUEUE_STATUS_DISABLED;
SendPacket(response.Write());
- TC_LOG_DEBUG("misc", "SMSG_GM_TICKET_SYSTEM_STATUS [%s]", GetPlayerInfo().c_str());
}
void WorldSession::HandleGMSurveySubmit(WorldPacket& recvData)