Oooh, C++... How I love you.

--HG--
branch : trunk
This commit is contained in:
silinoron
2010-08-31 17:41:18 -07:00
parent 64d77369fc
commit 80df469a38
2 changed files with 2 additions and 2 deletions

View File

@@ -1310,7 +1310,7 @@ OpcodeHandler opcodeTable[NUM_MSG_TYPES] =
/*0x4FF*/ { "CMSG_READY_FOR_ACCOUNT_DATA_TIMES", STATUS_AUTHED, &WorldSession::HandleReadyForAccountDataTimes },
/*0x500*/ { "CMSG_QUERY_QUESTS_COMPLETED", STATUS_LOGGEDIN, &WorldSession::HandleQueryQuestsCompleted },
/*0x501*/ { "SMSG_QUERY_QUESTS_COMPLETED_RESPONSE", STATUS_NEVER, &WorldSession::Handle_ServerSide },
/*0x502*/ { "CMSG_GM_REPORT_LAG", STATUS_NEVER, &WorldSession::Handle_NULL },
/*0x502*/ { "CMSG_GM_REPORT_LAG", STATUS_LOGGEDIN, &WorldSession::HandleReportLag },
/*0x503*/ { "UMSG_UNKNOWN_1283", STATUS_NEVER, &WorldSession::Handle_NULL },
/*0x504*/ { "UMSG_UNKNOWN_1284", STATUS_NEVER, &WorldSession::Handle_NULL },
/*0x505*/ { "UMSG_UNKNOWN_1285", STATUS_NEVER, &WorldSession::Handle_NULL },

View File

@@ -156,7 +156,7 @@ void TicketMgr::_AddOrUpdateGMTicket(GM_Ticket &ticket)
ss << ticket.assignedToGM << ", '";
ss << comment << "', ";
ss << (ticket.completed ? 1 : 0) << ", ";
ss << ticket.escalated << ", ";
ss << uint32(ticket.escalated) << ", ";
ss << (ticket.viewed ? 1 : 0) << ");";
SQLTransaction trans = CharacterDatabase.BeginTransaction();