Changeset

5284:5d2282a29387

net.server: Don't return anything from config-reloaded hook, fixes logrotate heisenbug
author Kim Alvefur <zash@zash.se>
date Sat, 29 Dec 2012 19:09:23 +0100
parents 5282:4cd57cb49f99
children 5285:19381ed1cc02 5286:0cbe57fbe2cd
files net/server.lua
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/net/server.lua	Fri Dec 28 15:00:43 2012 +0100
+++ b/net/server.lua	Sat Dec 29 19:09:23 2012 +0100
@@ -62,9 +62,8 @@
 			for k, v in pairs(event_settings) do
 				server.cfg[k] = v;
 			end
-			return true;
 		else
-			return server.changesettings(settings);
+			server.changesettings(settings);
 		end
 	end
 	load_config();