diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-11-24 20:45:51 +0100 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-11-24 20:45:51 +0100 |
commit | 0044672b85b93638bdc48854341c4e025d6ba1ab (patch) | |
tree | ba4c1073e81b9715494da8723b69ad1f7b90dc3a /plugins | |
parent | e921a619b0fab58bff7a753c991839843b096191 (diff) | |
download | xK-0044672b85b93638bdc48854341c4e025d6ba1ab.tar.gz xK-0044672b85b93638bdc48854341c4e025d6ba1ab.tar.xz xK-0044672b85b93638bdc48854341c4e025d6ba1ab.zip |
ping-timeout.lua: simplify
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/degesch/ping-timeout.lua | 2 |
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) |