Changeset

1493:42a6a197bed1

prosody: Record time the server started
author Matthew Wild <mwild1@gmail.com>
date Wed, 08 Jul 2009 04:19:15 +0100
parents 1492:aaeccebad0f3
children 1494:bdfa5274e111
files prosody
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/prosody	Wed Jul 08 03:14:12 2009 +0100
+++ b/prosody	Wed Jul 08 04:19:15 2009 +0100
@@ -234,6 +234,8 @@
 -- And lock now...
 prosody.lock_globals();
 
+prosody.start_time = os.time();
+
 eventmanager.fire_event("server-started");
 prosody.events.fire_event("server-started");