aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-05-30 14:07:14 +0100
committerMatthew Wild <mwild1@gmail.com>2009-05-30 14:07:14 +0100
commit14a9c9f36527f12c8d033c33b0cd19b03712cbba (patch)
tree5bbd81ef1aa82a988c50d40c565c6b442611ae83
parent2b380dd00954d5cd82d59191a9c0cf9f630289aa (diff)
downloadprosody-14a9c9f36527f12c8d033c33b0cd19b03712cbba.tar.gz
prosody-14a9c9f36527f12c8d033c33b0cd19b03712cbba.zip
prosody: Remove global functions
-rwxr-xr-xprosody8
1 files changed, 1 insertions, 7 deletions
diff --git a/prosody b/prosody
index bd0bd088..8cc56afd 100755
--- a/prosody
+++ b/prosody
@@ -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");