* Certain command restrictions that were applied did not give
appropriate command failure messages correctly. [RLB]
* Checking info for any attributes would crash the game. [RLB]
+ * @su and @sd Password: prompt didn't handle correctly for clients
+ that did not handle the GOAHEAD prompt telnet code. [RLB]
/* We're only entering using a password at this moment */
queue_newwrite(match, (unsigned char *) tprintf(T("Password: %c%c"),
IAC, GOAHEAD), 13);
+ if(!PromptConnection(match))
+ queue_newwrite(match, (unsigned char *) "\r\n", 3);
+
match->input_handler = password_handler;
match->pinfo.object = target;
match->pinfo.function = &pw_div_connect;
/* Part 3b. Put guy in password program */
queue_newwrite(match, (unsigned char *) tprintf(T("Password: %c%c"),
IAC, GOAHEAD), 13);
+ if(!PromptConnection(match))
+ queue_newwrite(match, (unsigned char *) "\r\n", 3);
+
match->input_handler = password_handler;
match->pinfo.object = target;
match->pinfo.function = &pw_player_connect;