summaryrefslogtreecommitdiff
path: root/src/login_sql/login.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/login_sql/login.c')
-rw-r--r--src/login_sql/login.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c
index 2037ef463..299c06818 100644
--- a/src/login_sql/login.c
+++ b/src/login_sql/login.c
@@ -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 )