aboutsummaryrefslogtreecommitdiffstats
path: root/util/adminstream.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-06-18 17:54:28 +0200
committerKim Alvefur <zash@zash.se>2020-06-18 17:54:28 +0200
commit72c9c5dae88617d7d08f3b3122a06a3239ba419b (patch)
tree5fc96d8903fb9f96fcdbe6eac35536aff4b9479e /util/adminstream.lua
parent2a5e57cf2775989d97c797e18bf5eef511a8353a (diff)
downloadprosody-72c9c5dae88617d7d08f3b3122a06a3239ba419b.tar.gz
prosody-72c9c5dae88617d7d08f3b3122a06a3239ba419b.zip
util.adminstream: Prevent closure on read timeout
Diffstat (limited to 'util/adminstream.lua')
-rw-r--r--util/adminstream.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/adminstream.lua b/util/adminstream.lua
index 782a6b0f..5b592e76 100644
--- a/util/adminstream.lua
+++ b/util/adminstream.lua
@@ -249,7 +249,7 @@ local function new_server(sessions, stanza_handler)
end
function listeners.onreadtimeout(conn)
- conn:send(" ");
+ return conn:send(" ");
end
return {