summaryrefslogtreecommitdiff
path: root/src/net/messagein.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-15 18:24:39 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-15 18:24:39 +0300
commit77afc97b4d6e4caace275d8bc21a94525ad070e2 (patch)
tree2c31833c1ecb84effd209aa3c568f2d2b3a175c2 /src/net/messagein.cpp
parente45a51342495eccdb8280f1f1a7963c7b78f4772 (diff)
downloadmanaplus-77afc97b4d6e4caace275d8bc21a94525ad070e2.tar.gz
manaplus-77afc97b4d6e4caace275d8bc21a94525ad070e2.tar.bz2
manaplus-77afc97b4d6e4caace275d8bc21a94525ad070e2.tar.xz
manaplus-77afc97b4d6e4caace275d8bc21a94525ad070e2.zip
Show info about wrong packet size in chat if enabled show unimplimentaed packets.
Diffstat (limited to 'src/net/messagein.cpp')
-rw-r--r--src/net/messagein.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/messagein.cpp b/src/net/messagein.cpp
index f012a5e2c..db0318a4d 100644
--- a/src/net/messagein.cpp
+++ b/src/net/messagein.cpp
@@ -60,6 +60,7 @@ MessageIn::~MessageIn()
CAST_U32(mId));
logger->log(" planned size: %u", mLength);
logger->log(" read size: %u", mPos);
+ WRONGPACKETSIZE;
}
}
else