summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-10 09:08:10 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-05-10 09:08:10 +0000
commit5189224e827f3cbe701da961757f0b42c477decb (patch)
treedc1bccbfd02a8e98156da2b6954dc6f0051f028c /src/char
parent229c39c3bd48a2f368c7ad9d2dbd8e9fd43869bd (diff)
downloadhercules-5189224e827f3cbe701da961757f0b42c477decb.tar.gz
hercules-5189224e827f3cbe701da961757f0b42c477decb.tar.bz2
hercules-5189224e827f3cbe701da961757f0b42c477decb.tar.xz
hercules-5189224e827f3cbe701da961757f0b42c477decb.zip
Replaced a few missed set_eof()-s
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@10518 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char')
-rw-r--r--src/char/char.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/char.c b/src/char/char.c
index c5ef5ce36..49ccb7016 100644
--- a/src/char/char.c
+++ b/src/char/char.c
@@ -1850,7 +1850,7 @@ int disconnect_player(int account_id) {
for(i = 0; i < fd_max; i++) {
if (session[i] && (sd = (struct char_session_data*)session[i]->session_data)) {
if (sd->account_id == account_id) {
- session[i]->eof = 1;
+ set_eof(i);
return 1;
}
}