gSearch: Fix, wenn keine Ergebnisse gefunden
This commit is contained in:
parent
bdfd4a99ed
commit
619371b1e4
@ -72,7 +72,7 @@ function gSearch:action(msg, config)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
if not results[1] then
|
if not results then
|
||||||
utilities.send_reply(self, msg, config.errors.results)
|
utilities.send_reply(self, msg, config.errors.results)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user