aboutsummaryrefslogtreecommitdiffstats
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
commit94117d463fc8c63306c208b01ff6a9ae5349bf28 (patch)
treecd9ccf8c3fc1ba03fe2a6f32303013f43f6e31e0
parent1a218ab02e50d800b359e9127744831fee80dc74 (diff)
downloadprosody-94117d463fc8c63306c208b01ff6a9ae5349bf28.tar.gz
prosody-94117d463fc8c63306c208b01ff6a9ae5349bf28.zip
server_event: Remove unused argument [luacheck]
-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