ping-timeout.lua: simplify
This commit is contained in:
parent
e921a619b0
commit
0044672b85
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user