plugins/mod_uptime.lua

changeset 3540
bc139431830b
parent 3232
c47bfd62701c
--- a/plugins/mod_uptime.lua	Sat Oct 16 08:34:32 2010 +0500
+++ b/plugins/mod_uptime.lua	Sat Oct 16 23:00:42 2010 +0500
@@ -34,8 +34,8 @@
 	local hours = t%24;
 	t = (t - hours)/24;
 	local days = t;
-	return string.format("This server has been running for %d day%s, %d hour%s and %d minute%s (since %s)", 
-		days, (days ~= 1 and "s") or "", hours, (hours ~= 1 and "s") or "", 
+	return string.format("This server has been running for %d day%s, %d hour%s and %d minute%s (since %s)",
+		days, (days ~= 1 and "s") or "", hours, (hours ~= 1 and "s") or "",
 		minutes, (minutes ~= 1 and "s") or "", os.date("%c", prosody.start_time));
 end
 

mercurial