From 18b7a6663833391fa517ea2ed79629808f40f17e Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Fri, 15 Jul 2016 16:38:09 +0200 Subject: [PATCH] Reddit: results-Fehler, statt Connection --- otouto/plugins/reddit.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otouto/plugins/reddit.lua b/otouto/plugins/reddit.lua index ee5466f..29c8193 100644 --- a/otouto/plugins/reddit.lua +++ b/otouto/plugins/reddit.lua @@ -66,7 +66,7 @@ function reddit:action(msg, config) end local jstr, res = https.request(url) if res ~= 200 then - utilities.send_reply(self, msg, config.errors.connection) + utilities.send_reply(self, msg, config.errors.results) else local jdat = JSON.decode(jstr) if #jdat.data.children == 0 then