diff --git a/include/websock.js b/include/websock.js index e02411f6..4901faf1 100644 --- a/include/websock.js +++ b/include/websock.js @@ -188,7 +188,7 @@ function flush() { function send(arr) { //Util.Debug(">> send_array: " + arr); sQ = sQ.concat(arr); - flush(); + return flush(); }; function send_string(str) {