aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-12-29 19:09:23 +0100
committerKim Alvefur <zash@zash.se>2012-12-29 19:09:23 +0100
commit45da10ec05dec7fcad1b32d90cc3175c3f7e2548 (patch)
tree085b256214be1d86062ebb25c7729451da838e12 /net
parent4f4bc7973a3f9f754b4576403b9da8d304472055 (diff)
downloadprosody-45da10ec05dec7fcad1b32d90cc3175c3f7e2548.tar.gz
prosody-45da10ec05dec7fcad1b32d90cc3175c3f7e2548.zip
net.server: Don't return anything from config-reloaded hook, fixes logrotate heisenbug
Diffstat (limited to 'net')
-rw-r--r--net/server.lua3
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();