summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-10-16 07:04:43 +0300
committerAndrei Karas <akaras@inbox.ru>2017-10-18 16:22:46 +0300
commit82e688c092ced4f6b9bd23797a671960139f48d6 (patch)
treeb81d6eaf5463cbe193fb143f16249dca9593ce87
parentb722ec613bce4a7d1764e1e6c9f07f89ade4aced (diff)
downloadplus-82e688c092ced4f6b9bd23797a671960139f48d6.tar.gz
plus-82e688c092ced4f6b9bd23797a671960139f48d6.tar.bz2
plus-82e688c092ced4f6b9bd23797a671960139f48d6.tar.xz
plus-82e688c092ced4f6b9bd23797a671960139f48d6.zip
Fix packet CMSG_MAIL2_CHECK_NAME for non evol servers.
-rw-r--r--src/net/eathena/mail2handler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/mail2handler.cpp b/src/net/eathena/mail2handler.cpp
index 13a7676d9..b298d7d87 100644
--- a/src/net/eathena/mail2handler.cpp
+++ b/src/net/eathena/mail2handler.cpp
@@ -291,7 +291,7 @@ void Mail2Handler::cancelWriteMail() const
void Mail2Handler::requestCheckName(const std::string &name) const
{
if (packetVersion < 20140423 ||
- serverVersion < 19)
+ (serverVersion < 19 && serverVersion != 0))
{
return;
}