err, ups... -.-'

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9447 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
FlavioJS 2006-12-10 19:29:02 +00:00
parent d4185ce10e
commit 1c8523c487

View File

@ -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