Diff

net/server.lua @ 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
parent 5200:cfc038f1f923
child 5383:143670deee3e
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();