aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-10-06 15:30:25 +0200
committerKim Alvefur <zash@zash.se>2015-10-06 15:30:25 +0200
commitbc5cd404ab862cd95d125da13c5307a254795bad (patch)
treed7ad787b1fe731cb1896758ca46b31cf907fb7f5
parent1aac758bba1f4a929740055b6ab7c418cd786502 (diff)
downloadprosody-bc5cd404ab862cd95d125da13c5307a254795bad.tar.gz
prosody-bc5cd404ab862cd95d125da13c5307a254795bad.zip
mod_websocket: Silence luacheck warnings
-rw-r--r--plugins/mod_websocket.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/mod_websocket.lua b/plugins/mod_websocket.lua
index 897d2709..418cd846 100644
--- a/plugins/mod_websocket.lua
+++ b/plugins/mod_websocket.lua
@@ -4,6 +4,7 @@
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
+-- luacheck: ignore 431/log
module:set_global();
@@ -130,7 +131,7 @@ local function filter_open_close(data)
return data;
end
-function handle_request(event, path)
+function handle_request(event)
local request, response = event.request, event.response;
local conn = response.conn;