aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commit8a93612482f3fce85965dd13f2c33c7864fedb4d (patch)
treed7ad787b1fe731cb1896758ca46b31cf907fb7f5 /plugins
parent7284b55cc0e99284a7328a3e0b558fda5b9885b1 (diff)
downloadprosody-8a93612482f3fce85965dd13f2c33c7864fedb4d.tar.gz
prosody-8a93612482f3fce85965dd13f2c33c7864fedb4d.zip
mod_websocket: Silence luacheck warnings
Diffstat (limited to 'plugins')
-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;