diff options
author | Kim Alvefur <zash@zash.se> | 2017-07-30 18:47:43 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-07-30 18:47:43 +0200 |
commit | 627b87ac7c1d4e67d317b88365df07bcd621f48e (patch) | |
tree | 9dfa446bcffbc69bb44666d94aca9e2b53db14da /net | |
parent | 46863c65b32369fc20ba920d46a5f4fd27293ad8 (diff) | |
download | prosody-627b87ac7c1d4e67d317b88365df07bcd621f48e.tar.gz prosody-627b87ac7c1d4e67d317b88365df07bcd621f48e.zip |
net.websocket: Remove stray module api reference, shouldn't be used in here
Diffstat (limited to 'net')
-rw-r--r-- | net/websocket.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/websocket.lua b/net/websocket.lua index 373210d6..777b894c 100644 --- a/net/websocket.lua +++ b/net/websocket.lua @@ -38,7 +38,7 @@ function websocket_listeners.ondetach(handler) 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 |