Software /
code /
prosody
Changeset
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 |
parents | 8188:8c524b7c9017 |
children | 8190:331caee0c774 |
files | net/websocket.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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