diff options
author | Kim Alvefur <zash@zash.se> | 2012-12-29 19:09:23 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-12-29 19:09:23 +0100 |
commit | 7dfcd3b6d48a94c2004353bd26da730d29a7509b (patch) | |
tree | 085b256214be1d86062ebb25c7729451da838e12 /net | |
parent | 71f54b16f9bf4a2561f80058affb049850c90327 (diff) | |
download | prosody-7dfcd3b6d48a94c2004353bd26da730d29a7509b.tar.gz prosody-7dfcd3b6d48a94c2004353bd26da730d29a7509b.zip |
net.server: Don't return anything from config-reloaded hook, fixes logrotate heisenbug
Diffstat (limited to 'net')
-rw-r--r-- | net/server.lua | 3 |
1 files changed, 1 insertions, 2 deletions
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(); |