Fixed a mistake in r11876 that prevented the login server from doing auth correctly due to an incorrect IP being used in the process.

The whole thing should be reverted when there is a proper flag to identify interserver connections.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11888 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ultramage 2007-12-11 20:11:44 +00:00
parent 3c65f35146
commit 0ca1cee5fc
2 changed files with 2 additions and 2 deletions

View File

@ -1826,7 +1826,7 @@ int parse_login(int fd)
return 0;
}
ipl = login_config.login_ip;
ipl = session[fd]->client_addr;
ip2str(ipl, ip);
while( RFIFOREST(fd) >= 2 )

View File

@ -1226,7 +1226,7 @@ int parse_login(int fd)
return 0;
}
ipl = login_config.login_ip;
ipl = session[fd]->client_addr;
ip2str(ipl, ip);
while( RFIFOREST(fd) >= 2 )