Mercurial > prosody-hg
comparison plugins/mod_uptime.lua @ 2016:5d47cfa4b2a0
mod_uptime: Removed unused variables.
| author | Waqas Hussain <waqas20@gmail.com> |
|---|---|
| date | Sun, 18 Oct 2009 22:44:18 +0500 |
| parents | 2140c994671e |
| children | 347799c9caa6 |
comparison
equal
deleted
inserted
replaced
| 2015:2140c994671e | 2016:5d47cfa4b2a0 |
|---|---|
| 4 -- | 4 -- |
| 5 -- This project is MIT/X11 licensed. Please see the | 5 -- This project is MIT/X11 licensed. Please see the |
| 6 -- COPYING file in the source package for more information. | 6 -- COPYING file in the source package for more information. |
| 7 -- | 7 -- |
| 8 | 8 |
| 9 local st = require "util.stanza" | 9 local st = require "util.stanza"; |
| 10 | |
| 11 local jid_split = require "util.jid".split; | |
| 12 local t_concat = table.concat; | |
| 13 | 10 |
| 14 local start_time = prosody.start_time; | 11 local start_time = prosody.start_time; |
| 15 prosody.events.add_handler("server-started", function() start_time = prosody.start_time end); | 12 prosody.events.add_handler("server-started", function() start_time = prosody.start_time end); |
| 16 | 13 |
| 17 module:add_feature("jabber:iq:last"); | 14 module:add_feature("jabber:iq:last"); |
