# HG changeset patch # User Matthew Wild # Date 1247023155 -3600 # Node ID 42a6a197bed1336ac75a6596118c836f2e1a7c48 # Parent aaeccebad0f30c0a0c254b0c4488a816bce6c50a prosody: Record time the server started diff -r aaeccebad0f3 -r 42a6a197bed1 prosody --- 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");