summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-10 19:29:02 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-10 19:29:02 +0000
commit2fb4ffc2ae152deaee824a48789188934a081a44 (patch)
tree9dcb36627218945692fef6333646bc6d41ffe246
parent8bf35af0e6d7aba3c619507e53cab3f9584807e1 (diff)
downloadhercules-2fb4ffc2ae152deaee824a48789188934a081a44.tar.gz
hercules-2fb4ffc2ae152deaee824a48789188934a081a44.tar.bz2
hercules-2fb4ffc2ae152deaee824a48789188934a081a44.tar.xz
hercules-2fb4ffc2ae152deaee824a48789188934a081a44.zip
err, ups... -.-'
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9447 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 230c1662c..b2e680b93 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -11856,7 +11856,7 @@ int clif_parse(int fd) {
}
} else {
// check authentification packet to know packet version
- err = clif_guess_PacketVer(fd, 0, &packet_ver);
+ packet_ver = clif_guess_PacketVer(fd, 0, &err);
if (err || // unknown packet version
packet_ver < 5 || // reject really old client versions
(packet_ver <= 9 && (battle_config.packet_ver_flag & 1) == 0) || // older than 6sept04