mod_console: Redirect print() to console session when executing commands in global...
[prosody.git] / prosody
diff --git a/prosody b/prosody
index 04ef9e31e400bc3f0dd91cb5da71bb693e50a664..08ee6cf06ae75ea71799a97475c1ee068b440f75 100755 (executable)
--- 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");