From 619371b1e4d981a195a3f61da33deb8755124cda Mon Sep 17 00:00:00 2001 From: Andreas Bielawski Date: Wed, 6 Jul 2016 22:01:39 +0200 Subject: [PATCH] gSearch: Fix, wenn keine Ergebnisse gefunden --- otouto/plugins/gSearch.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/otouto/plugins/gSearch.lua b/otouto/plugins/gSearch.lua index cddfa45..45f9611 100644 --- a/otouto/plugins/gSearch.lua +++ b/otouto/plugins/gSearch.lua @@ -72,7 +72,7 @@ function gSearch:action(msg, config) return end - if not results[1] then + if not results then utilities.send_reply(self, msg, config.errors.results) return end