summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 3143355ca..de64d07b0 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -10111,7 +10111,8 @@ static int clif_parse(int fd) {
printf("Player with account [%d] has logged off your server.\n", sd->bl.id); // Player logout display [Yor]
} else if (sd) { // not authentified! (refused by char-server or disconnect before to be authentified)
printf("Player with account [%d] has logged off your server (not auth account).\n", sd->bl.id); // Player logout display [Yor]
- map_deliddb(&sd->bl); // account_id has been included in the DB before auth answer
+ if (chrif_isconnect())
+ clif_quitsave(fd, sd);
sd = 0;
}
close(fd);