aboutsummaryrefslogtreecommitdiffstats
path: root/prosody
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-06-05 13:34:21 +0100
committerMatthew Wild <mwild1@gmail.com>2009-06-05 13:34:21 +0100
commitb715f521808392fba2d7176d777be5b8a78bd7fb (patch)
tree2d5083c74a3d3cd073556da6f17f2b689b5c9f1a /prosody
parent561347ae2bcdb55951af04e1123cc8e26a9e2b66 (diff)
downloadprosody-b715f521808392fba2d7176d777be5b8a78bd7fb.tar.gz
prosody-b715f521808392fba2d7176d777be5b8a78bd7fb.zip
prosody: prosody_reload_config => prosody.reload_config (guess I accidentally missed it when converting the others)
Diffstat (limited to 'prosody')
-rwxr-xr-xprosody2
1 files changed, 1 insertions, 1 deletions
diff --git a/prosody b/prosody
index 04ef9e31..08ee6cf0 100755
--- a/prosody
+++ b/prosody
@@ -142,7 +142,7 @@ end);
----------- End of out-of-place code --------------
-- Function to reload the config file
-function prosody_reload_config()
+function prosody.reload_config()
log("info", "Reloading configuration file");
eventmanager.fire_event("reloading-config");
local ok, level, err = config.load((rawget(_G, "CFG_CONFIGDIR") or ".").."/prosody.cfg.lua");