Added password requesting

This commit is contained in:
Polonkai Gergely
2012-03-23 10:05:51 +00:00
parent c082fc4f3c
commit 9cdab465f1
3 changed files with 19 additions and 0 deletions

View File

@@ -313,6 +313,11 @@ wmud_client_start_login(wmudClient *client)
wmud_client_send(client, "Your registration is not finished yet.\r\n");
wmud_client_close(client, TRUE);
}
else
{
client->state = WMUD_CLIENT_STATE_PASSWAIT;
wmud_client_send(client, "Please provide us your password: %c%c%c", TELNET_IAC, TELNET_WONT, TELNET_ECHO);
}
}
else
{