Software /
code /
prosody
Changeset
1314:c18cf7ccc2de
prosody: prosody_reload_config => prosody.reload_config (guess I accidentally missed it when converting the others)
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 05 Jun 2009 13:34:21 +0100 |
parents | 1313:6c7347696caa |
children | 1315:bfcd3f0a49df |
files | prosody |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/prosody Fri Jun 05 01:58:40 2009 +0100 +++ b/prosody Fri Jun 05 13:34:21 2009 +0100 @@ -142,7 +142,7 @@ ----------- 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");