diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-07-08 04:19:15 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-07-08 04:19:15 +0100 |
commit | 2cbe18d731f1d6ab265adc8acf7ee17cfee1c0b1 (patch) | |
tree | bc3b275a236c549eb58efcd7ec818f5d6f71aeee | |
parent | 25c8f0ffa440c9fe664b187cc19b322e7b37ae39 (diff) | |
download | prosody-2cbe18d731f1d6ab265adc8acf7ee17cfee1c0b1.tar.gz prosody-2cbe18d731f1d6ab265adc8acf7ee17cfee1c0b1.zip |
prosody: Record time the server started
-rwxr-xr-x | prosody | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -234,6 +234,8 @@ end -- And lock now... prosody.lock_globals(); +prosody.start_time = os.time(); + eventmanager.fire_event("server-started"); prosody.events.fire_event("server-started"); |