summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-10 06:07:36 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-10 06:07:36 +0000
commit77523746c63bc08f261bb68b7aa2492b0ba6546b (patch)
treede2dfbc09d24ad140de55da8ead9730a5df30846 /src/map/clif.c
parent22c1a797e182554a1e701f5cc0a21f2a605413fb (diff)
downloadhercules-77523746c63bc08f261bb68b7aa2492b0ba6546b.tar.gz
hercules-77523746c63bc08f261bb68b7aa2492b0ba6546b.tar.bz2
hercules-77523746c63bc08f261bb68b7aa2492b0ba6546b.tar.xz
hercules-77523746c63bc08f261bb68b7aa2492b0ba6546b.zip
Update
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@530 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-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);