Diff

net/server_select.lua @ 7097:5a71aaa2c542

server_select: Add logging of when servers are paused and resumed
author Kim Alvefur <zash@zash.se>
date Fri, 22 Jan 2016 02:00:43 +0100
parent 7096:95e4c81291cc
child 7098:5286e79c6829
child 7736:5a07fe977002
line wrap: on
line diff
--- a/net/server_select.lua	Fri Jan 22 02:00:27 2016 +0100
+++ b/net/server_select.lua	Fri Jan 22 02:00:43 2016 +0100
@@ -213,6 +213,7 @@
 				socket = nil;
 			end
 			handler.paused = true;
+			out_put("server.lua: server [", ip, "]:", serverport, " paused")
 		end
 	end
 	handler.resume = function( )
@@ -225,6 +226,7 @@
 			_socketlist[ socket ] = handler
 			_fullservers[ handler ] = nil
 			handler.paused = false;
+			out_put("server.lua: server [", ip, "]:", serverport, " resumed")
 		end
 	end
 	handler.ip = function( )