ping-timeout.lua: simplify

This commit is contained in:
Přemysl Eric Janouch 2015-11-24 20:45:51 +01:00
parent e921a619b0
commit 0044672b85

View File

@ -29,5 +29,5 @@ degesch.hook_irc (function (hook, server, line)
end
local seconds = timeout % 60
return string.format ("%s %d minutes, %d seconds", start, minutes, seconds)
return ("%s %d minutes, %d seconds"):format (start, minutes, seconds)
end)