Changeset

6856:489f4ae291bf

server_event: Remove unused argument [luacheck]
author Kim Alvefur <zash@zash.se>
date Fri, 25 Sep 2015 17:26:47 +0200
parents 6855:40236602ab5b
children 6857:86fcc3fa1a97
files net/server_event.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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