summaryrefslogtreecommitdiff
path: root/src/map/chrif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/chrif.c')
-rw-r--r--src/map/chrif.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index b8990f87e..f4def8091 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -215,10 +215,8 @@ int chrif_save(struct map_session_data *sd, int flag)
charsave_savechar(sd->char_id, &sd->status);
if (flag) //Character final saved.
sd->state.finalsave = 1;
- if (flag == 1) {
+ if (flag == 1)
chrif_char_offline(sd); //Tell char server that character went offline.
- map_quit_ack(sd); //Remove from memory.
- }
return 0;
}
#endif