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 | 45da10ec05dec7fcad1b32d90cc3175c3f7e2548 (patch) | |
tree | 085b256214be1d86062ebb25c7729451da838e12 | |
parent | 4f4bc7973a3f9f754b4576403b9da8d304472055 (diff) | |
download | prosody-45da10ec05dec7fcad1b32d90cc3175c3f7e2548.tar.gz prosody-45da10ec05dec7fcad1b32d90cc3175c3f7e2548.zip |
net.server: Don't return anything from config-reloaded hook, fixes logrotate heisenbug
-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(); |