From 674f570b6300efc88d5326bc5b3e6802455cc01b Mon Sep 17 00:00:00 2001 From: "John \"Elwin\" Edwards" Date: Wed, 20 Jun 2012 07:37:15 -0700 Subject: [PATCH] rlgwebd.js: fix failure to respond. The codepath for a watcher requesting to quit did not lead to any response being sent. --- rlgwebd.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rlgwebd.js b/rlgwebd.js index 9b28110..c1949c6 100755 --- a/rlgwebd.js +++ b/rlgwebd.js @@ -720,6 +720,8 @@ function endgame(client, res) { // Give things some time to happen. if (client instanceof Player) setTimeout(readFeed, 200, client, res); + else + readFeed(client, res); return; }