summaryrefslogtreecommitdiff
path: root/src/map/clif.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-25 10:13:52 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-25 10:13:52 +0000
commit56c38376f23bf7b942247ef42b36ab7401397f0b (patch)
tree3a1a67bce5c331481cdd2931da5160b86bed735d /src/map/clif.c
parent3f59201b9eafb42da8364672d6fe0c6b155b2812 (diff)
downloadhercules-56c38376f23bf7b942247ef42b36ab7401397f0b.tar.gz
hercules-56c38376f23bf7b942247ef42b36ab7401397f0b.tar.bz2
hercules-56c38376f23bf7b942247ef42b36ab7401397f0b.tar.xz
hercules-56c38376f23bf7b942247ef42b36ab7401397f0b.zip
- You are allowed to expel guild mates that are not online now.
- Corrected damage of BloodDrain - Moved the "already connected" checks to pc_authok, since a dual login doesn't needs to be checked until the new connection is accepted. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9916 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/clif.c')
-rw-r--r--src/map/clif.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index a3360b76a..6b85a9667 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -8034,7 +8034,6 @@ void clif_parse_WantToConnection(int fd, TBL_PC* sd)
return;
} else
{// packet version accepted
- TBL_PC* old_sd;
struct block_list* bl;
if( (bl=map_id2bl(account_id)) != NULL && bl->type != BL_PC )
{// non-player object already has that id
@@ -8046,19 +8045,6 @@ void clif_parse_WantToConnection(int fd, TBL_PC* sd)
clif_setwaitclose(fd);
return;
}
- if( (old_sd=map_id2sd(account_id)) != NULL ){
- // if same account already connected, we disconnect the 2 sessions
- //Check for characters with no connection (includes those that are using autotrade) [durf],[Skotlex]
- if (old_sd->state.finalsave || !old_sd->state.auth)
- ; //Previous player is not done loading.
- //Or he has quit, but is not done saving on the charserver.
- else if (old_sd->fd)
- clif_authfail_fd(old_sd->fd, 2); // same id
- else
- map_quit(old_sd);
- clif_authfail_fd(fd, 8); // still recognizes last connection
- return;
- }
}
CREATE(sd, TBL_PC, 1);