Re-fix doors

This commit is contained in:
Andrew Pamment 2016-04-09 12:00:27 +10:00
parent f9685dbdba
commit 9e73cefd91

View File

@ -200,9 +200,7 @@ void rundoor(int socket, struct user_record *user, char *cmd, int stdio) {
disconnect(socket);
return;
}
if (c == '\r') {
c = '\n';
} else if (c == '\n' || c == '\0') {
if (c == '\n' || c == '\0') {
continue;
}
write(master, &c, 1);