Skip to content
Snippets Groups Projects
Commit 3f2d547a authored by rswindell's avatar rswindell
Browse files

Reset user number after USER command.

parent 807b7136
No related branches found
No related tags found
No related merge requests found
...@@ -2502,6 +2502,7 @@ static void ctrl_thread(void* arg) ...@@ -2502,6 +2502,7 @@ static void ctrl_thread(void* arg)
sockprintf(sock,"331 User name okay, give your full e-mail address as password."); sockprintf(sock,"331 User name okay, give your full e-mail address as password.");
else else
sockprintf(sock,"331 User name okay, need password."); sockprintf(sock,"331 User name okay, need password.");
user.number=0;
continue; continue;
} }
if(!strnicmp(cmd, "PASS ",5) && user.alias[0]) { if(!strnicmp(cmd, "PASS ",5) && user.alias[0]) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment