diff options
Diffstat (limited to 'src/login_sql')
-rw-r--r-- | src/login_sql/login.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c index 85f08391d..414b0efda 100644 --- a/src/login_sql/login.c +++ b/src/login_sql/login.c @@ -1134,6 +1134,8 @@ int parse_login(int fd) { sprintf(ip, "%d.%d.%d.%d", p[0], p[1], p[2], p[3]); + memset(&account, 0, sizeof(account)); + if (ipban > 0) { //ip ban //p[0], p[1], p[2], p[3] |