aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-09-25 17:26:47 +0200
committerKim Alvefur <zash@zash.se>2015-09-25 17:26:47 +0200
commit8b4045e568305347a39a0c30b13421476aa5812a (patch)
treecd9ccf8c3fc1ba03fe2a6f32303013f43f6e31e0 /net
parentd15bb4aaf1d54def98685bac6bf91ecb37c15e8e (diff)
downloadprosody-8b4045e568305347a39a0c30b13421476aa5812a.tar.gz
prosody-8b4045e568305347a39a0c30b13421476aa5812a.zip
server_event: Remove unused argument [luacheck]
Diffstat (limited to 'net')
-rw-r--r--net/server_event.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_event.lua b/net/server_event.lua
index c420cf4a..fb394d6a 100644
--- a/net/server_event.lua
+++ b/net/server_event.lua
@@ -767,7 +767,7 @@ end
-- being garbage-collected
local signal_events = {}; -- [signal_num] -> event object
local function hook_signal(signal_num, handler)
- local function _handler(event)
+ local function _handler()
local ret = handler();
if ret ~= false then -- Continue handling this signal?
return EV_SIGNAL; -- Yes