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