summary refs log tree commit diff
path: root/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'server.c')
-rw-r--r--server.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.c b/server.c
index 5e23a71..5bdef6b 100644
--- a/server.c
+++ b/server.c
@@ -185,7 +185,7 @@ void serverRecv(void) {
 			line[1] = 'O';
 			serverFormat("%s\r\n", line);
 		} else {
-			// TODO: Add line to ring if stateReady().
+			if (stateReady()) ringWrite(line);
 			stateParse(line);
 		}