From 0044672b85b93638bdc48854341c4e025d6ba1ab Mon Sep 17 00:00:00 2001
From: Přemysl Janouch
Date: Tue, 24 Nov 2015 20:45:51 +0100
Subject: ping-timeout.lua: simplify
---
plugins/degesch/ping-timeout.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
--
cgit v1.2.3-70-g09d2