From 5d8c86115b0270dac00ebcab4bcbfabf1a14d893 Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Thu, 18 Aug 2016 13:13:37 +0200 Subject: [PATCH] =?UTF-8?q?Cron:=20Fixe=20Fehler=20bei=20handle=5Fexceptio?= =?UTF-8?q?n()=20(was=20f=C3=BCr=20eine=20Ironie!)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- otouto/bot.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otouto/bot.lua b/otouto/bot.lua index 5eceada..af0076a 100644 --- a/otouto/bot.lua +++ b/otouto/bot.lua @@ -210,7 +210,7 @@ function bot:run(config) if v.cron then -- Call each plugin's cron function, if it has one. local result, err = pcall(function() v.cron(self, config) end) if not result then - utilities.handle_exception(self, err, 'CRON: ' .. i, config) + utilities.handle_exception(self, err, 'CRON: ' .. n, config) end end end