Software /
code /
prosody
Diff
net/server_event.lua @ 6856:489f4ae291bf
server_event: Remove unused argument [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 25 Sep 2015 17:26:47 +0200 |
parent | 6855:40236602ab5b |
child | 6858:d8f8c0b2fda8 |
line wrap: on
line diff
--- a/net/server_event.lua Fri Sep 25 17:26:29 2015 +0200 +++ b/net/server_event.lua Fri Sep 25 17:26:47 2015 +0200 @@ -767,7 +767,7 @@ -- 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