diff --git a/doors.c b/doors.c index 0b2a959..87bd4bb 100644 --- a/doors.c +++ b/doors.c @@ -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);