From 7dfcd3b6d48a94c2004353bd26da730d29a7509b Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 29 Dec 2012 19:09:23 +0100 Subject: net.server: Don't return anything from config-reloaded hook, fixes logrotate heisenbug --- net/server.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'net') diff --git a/net/server.lua b/net/server.lua index d80b8a18..3cdbe551 100644 --- a/net/server.lua +++ b/net/server.lua @@ -62,9 +62,8 @@ if prosody then 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(); -- cgit v1.2.3