diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-05-30 14:07:14 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-05-30 14:07:14 +0100 |
commit | 14a9c9f36527f12c8d033c33b0cd19b03712cbba (patch) | |
tree | 5bbd81ef1aa82a988c50d40c565c6b442611ae83 | |
parent | 2b380dd00954d5cd82d59191a9c0cf9f630289aa (diff) | |
download | prosody-14a9c9f36527f12c8d033c33b0cd19b03712cbba.tar.gz prosody-14a9c9f36527f12c8d033c33b0cd19b03712cbba.zip |
prosody: Remove global functions
-rwxr-xr-x | prosody | 8 |
1 files changed, 1 insertions, 7 deletions
@@ -145,9 +145,6 @@ function prosody.reopen_logfiles() 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 @@ function prosody.shutdown(reason) 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 @@ function prosody.lock_globals() end -- And lock now... -lock_globals(); +prosody.lock_globals(); eventmanager.fire_event("server-started"); |