# HG changeset patch # User Kim Alvefur # Date 1356804563 -3600 # Node ID 5d2282a29387dbcc962c5b16de5ceadfd5bdaf52 # Parent 4cd57cb49f999b776c14fc434cdd11fad4ba37e5 net.server: Don't return anything from config-reloaded hook, fixes logrotate heisenbug diff -r 4cd57cb49f99 -r 5d2282a29387 net/server.lua --- 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();