diff options
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/login.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/login/login.c b/src/login/login.c index 747fe0a94..7dafc7443 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -2841,6 +2841,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 (session[fd]->eof) { close(fd); delete_session(fd); |