aboutsummaryrefslogtreecommitdiff
path: root/net
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
commit4536be9f8b83bdd17954c1f059fcbf191c5cdf94 (patch)
tree20f7abd1c1fb5d863717eedde9d77d145eaee1d8 /net
parent0c28c3a55f6b9ee8cf0850b6ec8073db65f55edb (diff)
downloadprosody-im-server-4536be9f8b83bdd17954c1f059fcbf191c5cdf94.tar
prosody-im-server-4536be9f8b83bdd17954c1f059fcbf191c5cdf94.zip
net.websocket: Remove stray module api reference, shouldn't be used in here
Diffstat (limited to 'net')
-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