Wed, 27 Aug 2014 10:34:58 +0100
Merge with Zash
--- a/plugins/uptime.lua Wed Aug 27 10:30:38 2014 +0100 +++ b/plugins/uptime.lua Wed Aug 27 10:34:58 2014 +0100 @@ -23,7 +23,7 @@ function (reply) local query = reply:get_child("query", xmlns_last); if reply.attr.type == "result" then - local seconds = query.attr.seconds; + local seconds = tonumber(query.attr.seconds); callback({ seconds = seconds or nil; });