gSearch: Fix, wenn keine Ergebnisse gefunden

This commit is contained in:
Andreas Bielawski 2016-07-06 22:01:39 +02:00
parent bdfd4a99ed
commit 619371b1e4

View File

@ -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