Fixing packet validation.

This commit is contained in:
lotodore
2012-12-31 16:38:29 +01:00
parent 4431efbbd8
commit 196686ee0e
-1
View File
@@ -121,7 +121,6 @@ NetPacketValidator::IsValidPacket(const NetPacket &packet) const
// Default: Invalid packet.
bool retVal = false;
ValidateFunctorMap::const_iterator pos = m_validationMap.find(packet.GetMsg()->messagetype());
packet.GetMsg()->afterhandshowcardsmessage();
if (pos != m_validationMap.end()) {
// Call validation functor.
retVal = pos->second(packet);