rlgwebd.js: fix failure to respond.

The codepath for a watcher requesting to quit did not lead to any
response being sent.
This commit is contained in:
John "Elwin" Edwards 2012-06-20 07:37:15 -07:00
parent 0e31c3a3b7
commit 674f570b63

View file

@ -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;
}