aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-07-08 04:22:45 +0100
committerMatthew Wild <mwild1@gmail.com>2009-07-08 04:22:45 +0100
commitb64754ac042393ea7b61318e335570f294dc6803 (patch)
tree4a85a8638a870240f505bf8942ea2dc9ea1539fc
parentaa77dac9dae9a6f15a78e1624fbe2fd9dd03fae6 (diff)
downloadprosody-b64754ac042393ea7b61318e335570f294dc6803.tar.gz
prosody-b64754ac042393ea7b61318e335570f294dc6803.zip
mod_uptime: Use time of server start rather than module load
-rw-r--r--plugins/mod_uptime.lua2
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");