summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r--src/net/eathena/beinghandler.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index 418876b0d..1ecb8895c 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -29,6 +29,7 @@
#include "debug.h"
extern Net::BeingHandler *beingHandler;
+extern int packetVersion;
extern int serverVersion;
namespace EAthena
@@ -69,6 +70,9 @@ void BeingHandler::undress(Being *const being) const
void BeingHandler::requestRanks(const RankT rank) const
{
+ if (packetVersion < 20130605)
+ return;
+
createOutPacket(CMSG_REQUEST_RANKS);
outMsg.writeInt16(CAST_S16(rank), "type");
}