Software /
code /
prosody
Diff
net/websocket.lua @ 8189:a3565d7dd304
net.websocket: Remove stray module api reference, shouldn't be used in here
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 30 Jul 2017 18:47:43 +0200 |
parent | 7759:69706084bdfe |
child | 8892:fb38b2c77a72 |
line wrap: on
line diff
--- a/net/websocket.lua Thu Jul 27 14:10:18 2017 +0200 +++ b/net/websocket.lua Sun Jul 30 18:47:43 2017 +0200 @@ -38,7 +38,7 @@ end local function fail(s, code, reason) - module:log("warn", "WebSocket connection failed, closing. %d %s", code, reason); + log("warn", "WebSocket connection failed, closing. %d %s", code, reason); s:close(code, reason); s.handler:close(); return false