# HG changeset patch # User Matthew Wild # Date 1247023365 -3600 # Node ID 6c745a108e68edf508636799033d3205d34ca222 # Parent bdfa5274e111b239a8add13372385db7fb3f3107 mod_uptime: Use time of server start rather than module load diff -r bdfa5274e111 -r 6c745a108e68 plugins/mod_uptime.lua --- a/plugins/mod_uptime.lua Wed Jul 08 04:22:15 2009 +0100 +++ b/plugins/mod_uptime.lua Wed Jul 08 04:22:45 2009 +0100 @@ -13,7 +13,7 @@ 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");