Software /
code /
prosody
Changeset
1239:335d9a612477
prosody: Remove global functions
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 30 May 2009 14:07:14 +0100 |
parents | 1238:f4c08caca3e7 |
children | 1240:397b6e9c1568 |
files | prosody |
diffstat | 1 files changed, 1 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/prosody Sat May 30 14:05:42 2009 +0100 +++ b/prosody Sat May 30 14:07:14 2009 +0100 @@ -145,9 +145,6 @@ eventmanager.fire_event("reopen-log-files"); -- Handled by appropriate log sinks end --- Temporary -prosody_reopen_logfiles = prosody.reopen_logfiles; - -- Function to initiate prosody shutdown function prosody.shutdown(reason) log("info", "Shutting down: %s", reason or "unknown reason"); @@ -155,9 +152,6 @@ server.setquitting(true); end --- Temporary -prosody_shutdown = prosody.shutdown; - -- Signal to modules that we are ready to start eventmanager.fire_event("server-starting"); @@ -212,7 +206,7 @@ end -- And lock now... -lock_globals(); +prosody.lock_globals(); eventmanager.fire_event("server-started");