net.websocket: Remove stray module api reference, shouldn't be used in here

This commit is contained in:
Kim Alvefur 2017-07-30 18:47:43 +02:00
parent 46863c65b3
commit 627b87ac7c

View file

@ -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