diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-07-08 04:22:45 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-07-08 04:22:45 +0100 |
commit | b64754ac042393ea7b61318e335570f294dc6803 (patch) | |
tree | 4a85a8638a870240f505bf8942ea2dc9ea1539fc /plugins/mod_uptime.lua | |
parent | aa77dac9dae9a6f15a78e1624fbe2fd9dd03fae6 (diff) | |
download | prosody-b64754ac042393ea7b61318e335570f294dc6803.tar.gz prosody-b64754ac042393ea7b61318e335570f294dc6803.zip |
mod_uptime: Use time of server start rather than module load
Diffstat (limited to 'plugins/mod_uptime.lua')
-rw-r--r-- | plugins/mod_uptime.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_uptime.lua b/plugins/mod_uptime.lua index ffb55a3c..45a83824 100644 --- a/plugins/mod_uptime.lua +++ b/plugins/mod_uptime.lua @@ -13,7 +13,7 @@ local st = require "util.stanza" local jid_split = require "util.jid".split; local t_concat = table.concat; -local start_time = os.time(); +local start_time = prosody.start_time; module:add_feature("jabber:iq:last"); |