prosody: Record time the server started

Wed, 08 Jul 2009 04:19:15 +0100

author
Matthew Wild <mwild1@gmail.com>
date
Wed, 08 Jul 2009 04:19:15 +0100
changeset 1493
42a6a197bed1
parent 1492
aaeccebad0f3
child 1494
bdfa5274e111

prosody: Record time the server started

prosody file | annotate | diff | comparison | revisions
--- 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");
 

mercurial