git-svn-id: https://svn.code.sf.net/p/rathena/svn/athena@7 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
b167642632
commit
4b2d32a30f
@ -1209,7 +1209,9 @@ int parse_fromchar(int fd) {
|
|||||||
for(id = 0; id < MAX_SERVERS; id++)
|
for(id = 0; id < MAX_SERVERS; id++)
|
||||||
if (server_fd[id] == fd)
|
if (server_fd[id] == fd)
|
||||||
break;
|
break;
|
||||||
if (id == MAX_SERVERS || session[fd]->eof) {
|
if (id == MAX_SERVERS)
|
||||||
|
session[fd]->eof = 1;
|
||||||
|
if(session[fd]->eof) {
|
||||||
if (id < MAX_SERVERS) {
|
if (id < MAX_SERVERS) {
|
||||||
printf("Char-server '%s' has disconnected.\n", server[id].name);
|
printf("Char-server '%s' has disconnected.\n", server[id].name);
|
||||||
login_log("Char-server '%s' has disconnected (ip: %s)." RETCODE,
|
login_log("Char-server '%s' has disconnected (ip: %s)." RETCODE,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user