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 | 9a782a606037d64771f0f39e179593ab07627623 (patch) | |
tree | 9dfa446bcffbc69bb44666d94aca9e2b53db14da | |
parent | 4531d4411c11145249082a9fa8e3245d4cff03b4 (diff) | |
download | prosody-9a782a606037d64771f0f39e179593ab07627623.tar.gz prosody-9a782a606037d64771f0f39e179593ab07627623.zip |
net.websocket: Remove stray module api reference, shouldn't be used in here
-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 |