- InlineQuery für 9gag

- bImages: Ausdruck
- Core: Leere InlineQuerys werden jetzt auch übergeben
This commit is contained in:
Andreas Bielawski
2016-07-14 11:48:48 +02:00
parent e6df5a8981
commit 595f27a918
3 changed files with 26 additions and 4 deletions

View File

@ -154,7 +154,6 @@ function bot:process_inline_query(inline_query, config) -- When an inline query
if not is_whitelisted then return end
end
if inline_query.query == '' then return end
if inline_query.query:match('"') then
inline_query.query = inline_query.query:gsub('"', '\\"')
end