Changeset

6929:03bc9e197fcc

net.server_event: Return event handle from add_task so it can be closed by eg util.timer
author Kim Alvefur <zash@zash.se>
date Sun, 22 Nov 2015 17:00:43 +0100
parents 6928:02717098cbba
children 6930:58e260832334
files net/server_event.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/net/server_event.lua	Sun Nov 22 15:52:10 2015 +0000
+++ b/net/server_event.lua	Sun Nov 22 17:00:43 2015 +0100
@@ -807,6 +807,7 @@
 		end
 	end
 	, delay);
+	return event_handle;
 end
 
 return {