summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index d4f94504c..3143355ca 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -10112,10 +10112,10 @@ static int clif_parse(int fd) {
} 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
+ sd = 0;
}
close(fd);
if (sd) // ’ljÁ
-
map_deliddb(&sd->bl); // ’ljÁ
delete_session(fd);
return 0;