aboutsummaryrefslogtreecommitdiff
path: root/src/game/ChatHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/ChatHandler.cpp')
-rw-r--r--src/game/ChatHandler.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/game/ChatHandler.cpp b/src/game/ChatHandler.cpp
index 6fdf9f0b222..106e445c245 100644
--- a/src/game/ChatHandler.cpp
+++ b/src/game/ChatHandler.cpp
@@ -42,8 +42,6 @@
void WorldSession::HandleMessagechatOpcode( WorldPacket & recv_data )
{
- CHECK_PACKET_SIZE(recv_data,4+4+1);
-
uint32 type;
uint32 lang;
@@ -198,7 +196,6 @@ void WorldSession::HandleMessagechatOpcode( WorldPacket & recv_data )
{
std::string to, msg;
recv_data >> to;
- CHECK_PACKET_SIZE(recv_data,4+4+(to.size()+1)+1);
recv_data >> msg;
// strip invisible characters for non-addon messages
@@ -496,9 +493,6 @@ void WorldSession::HandleMessagechatOpcode( WorldPacket & recv_data )
std::string channel = "", msg = "";
recv_data >> channel;
- // recheck
- CHECK_PACKET_SIZE(recv_data,4+4+(channel.size()+1)+1);
-
recv_data >> msg;
// strip invisible characters for non-addon messages
@@ -577,7 +571,6 @@ void WorldSession::HandleEmoteOpcode( WorldPacket & recv_data )
{
if(!GetPlayer()->isAlive())
return;
- CHECK_PACKET_SIZE(recv_data,4);
uint32 emote;
recv_data >> emote;
@@ -628,8 +621,6 @@ void WorldSession::HandleTextEmoteOpcode( WorldPacket & recv_data )
return;
}
- CHECK_PACKET_SIZE(recv_data,4+4+8);
-
uint32 text_emote, emoteNum;
uint64 guid;
@@ -679,8 +670,6 @@ void WorldSession::HandleTextEmoteOpcode( WorldPacket & recv_data )
void WorldSession::HandleChatIgnoredOpcode(WorldPacket& recv_data )
{
- CHECK_PACKET_SIZE(recv_data, 8+1);
-
uint64 iguid;
uint8 unk;
//sLog.outDebug("WORLD: Received CMSG_CHAT_IGNORED");