diff options
author | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-12-11 20:11:44 +0000 |
---|---|---|
committer | ultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2007-12-11 20:11:44 +0000 |
commit | 65e3605e9595729be1dcad01e01b07fbb4ff8e49 (patch) | |
tree | 3904baada2b0dee7d593059bfb705b41fb1eb693 /src/login | |
parent | b1ba3509a0166996e8ef4ba085948d098651ebaf (diff) | |
download | hercules-65e3605e9595729be1dcad01e01b07fbb4ff8e49.tar.gz hercules-65e3605e9595729be1dcad01e01b07fbb4ff8e49.tar.bz2 hercules-65e3605e9595729be1dcad01e01b07fbb4ff8e49.tar.xz hercules-65e3605e9595729be1dcad01e01b07fbb4ff8e49.zip |
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://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11888 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/login.c b/src/login/login.c index a270a203a..b3726bad2 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -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 ) |