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
commit9a782a606037d64771f0f39e179593ab07627623 (patch)
tree9dfa446bcffbc69bb44666d94aca9e2b53db14da
parent4531d4411c11145249082a9fa8e3245d4cff03b4 (diff)
downloadprosody-9a782a606037d64771f0f39e179593ab07627623.tar.gz
prosody-9a782a606037d64771f0f39e179593ab07627623.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