summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-10 21:45:03 +0000
committerKevin <Kevin@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-04-10 21:45:03 +0000
commita2181d92df9cfd3b094211ffa126de43b8152b50 (patch)
treef37f186576c9b506fe8a7a63d2d6a7bb49b21f65 /src
parentc41d6db582953265e2070b54529ed4baf9c61347 (diff)
downloadhercules-a2181d92df9cfd3b094211ffa126de43b8152b50.tar.gz
hercules-a2181d92df9cfd3b094211ffa126de43b8152b50.tar.bz2
hercules-a2181d92df9cfd3b094211ffa126de43b8152b50.tar.xz
hercules-a2181d92df9cfd3b094211ffa126de43b8152b50.zip
Lolwhoops.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12553 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/chrif.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/chrif.c b/src/map/chrif.c
index cb631a16c..492f57051 100644
--- a/src/map/chrif.c
+++ b/src/map/chrif.c
@@ -528,8 +528,10 @@ void chrif_authreq(struct map_session_data *sd)
node->login_id1 == sd->login_id1)
{ //auth ok
if (!pc_authok(sd, node->login_id2, node->expiration_time, node->char_dat))
+ {
chrif_char_offline(sd); //Set client offline
chrif_auth_delete(node->account_id, node->char_id, ST_LOGIN);
+ }
else {
//char_dat no longer needed, but player auth is not completed yet.
aFree(node->char_dat);