summaryrefslogtreecommitdiff
path: root/src/login/login.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/login.c')
-rw-r--r--src/login/login.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/login/login.c b/src/login/login.c
index 714eb178b..9a6f61c0b 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -1230,7 +1230,7 @@ int parse_fromchar(int fd)
return 0;
}
- if( session[fd]->eof )
+ if( session[fd]->flag.eof )
{
ShowStatus("Char-server '%s' has disconnected.\n", server[id].name);
online_db->foreach(online_db, online_db_setoffline, id); //Set all chars from this char server to offline.
@@ -1820,7 +1820,7 @@ int parse_login(int fd)
uint32 ipl;
char ip[16];
- if( session[fd]->eof )
+ if( session[fd]->flag.eof )
{
do_close(fd);
return 0;
@@ -2059,7 +2059,7 @@ int parse_login(int fd)
WFIFOSET(fd,3);
session[fd]->func_parse = parse_fromchar;
- session[fd]->client_addr = 0;
+ session[fd]->flag.server = 1;
realloc_fifo(fd, FIFOSIZE_SERVERLINK, FIFOSIZE_SERVERLINK);
send_GM_accounts(fd); // send GM account to char-server