aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-07-30 18:47:43 +0200
committerKim Alvefur <zash@zash.se>2017-07-30 18:47:43 +0200
commit627b87ac7c1d4e67d317b88365df07bcd621f48e (patch)
tree9dfa446bcffbc69bb44666d94aca9e2b53db14da
parent46863c65b32369fc20ba920d46a5f4fd27293ad8 (diff)
downloadprosody-627b87ac7c1d4e67d317b88365df07bcd621f48e.tar.gz
prosody-627b87ac7c1d4e67d317b88365df07bcd621f48e.zip
net.websocket: Remove stray module api reference, shouldn't be used in here
-rw-r--r--net/websocket.lua2
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