mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
net.websocket: Remove stray module api reference, shouldn't be used in here
This commit is contained in:
parent
46863c65b3
commit
627b87ac7c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue