aboutsummaryrefslogtreecommitdiffstats
path: root/prosody
diff options
context:
space:
mode:
Diffstat (limited to 'prosody')
-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");