aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-11-24 20:45:51 +0100
committerPřemysl Janouch <p.janouch@gmail.com>2015-11-24 20:45:51 +0100
commit0044672b85b93638bdc48854341c4e025d6ba1ab (patch)
treeba4c1073e81b9715494da8723b69ad1f7b90dc3a
parente921a619b0fab58bff7a753c991839843b096191 (diff)
downloadxK-0044672b85b93638bdc48854341c4e025d6ba1ab.tar.gz
xK-0044672b85b93638bdc48854341c4e025d6ba1ab.tar.xz
xK-0044672b85b93638bdc48854341c4e025d6ba1ab.zip
ping-timeout.lua: simplify
-rw-r--r--plugins/degesch/ping-timeout.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/degesch/ping-timeout.lua b/plugins/degesch/ping-timeout.lua
index 72a754f..12a5221 100644
--- a/plugins/degesch/ping-timeout.lua
+++ b/plugins/degesch/ping-timeout.lua
@@ -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)