diff options
author | gepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-05 12:29:25 +0000 |
---|---|---|
committer | gepard1984 <gepard1984@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-01-05 12:29:25 +0000 |
commit | e52d43280012e31050f651406d2b5794a662370b (patch) | |
tree | fe32c30e794e1273d610c14493ce371c4cac49d0 /src/char_sql | |
parent | 7133565dadb2a30dd38146aba345307795aadbca (diff) | |
download | hercules-e52d43280012e31050f651406d2b5794a662370b.tar.gz hercules-e52d43280012e31050f651406d2b5794a662370b.tar.bz2 hercules-e52d43280012e31050f651406d2b5794a662370b.tar.xz hercules-e52d43280012e31050f651406d2b5794a662370b.zip |
Improved friend removal process to avoid inconsistent state if char-server was offline, fixed wrong packet size check (follow-up to r15119).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15397 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char_sql')
-rw-r--r-- | src/char_sql/char.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c index 96d8d3549..a188613a2 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -2789,7 +2789,7 @@ int parse_frommap(int fd) break; case 0x2b07: // Remove RFIFOL(fd,6) (friend_id) from RFIFOL(fd,2) (char_id) friend list [Ind] - if (RFIFOREST(fd) < 6) + if (RFIFOREST(fd) < 10) return 0; { int char_id, friend_id; |