ibSearch: Fix für mehrere Tags
This commit is contained in:
parent
ceb13c9733
commit
4f572310db
@ -49,7 +49,7 @@ end
|
|||||||
function ibSearch:action(msg, config, matches)
|
function ibSearch:action(msg, config, matches)
|
||||||
local tag = string.gsub(matches[2], " ", '_')
|
local tag = string.gsub(matches[2], " ", '_')
|
||||||
local tag = string.gsub(tag, ":", '%%3A')
|
local tag = string.gsub(tag, ":", '%%3A')
|
||||||
local tag = string.gsub(tag, "+", '%%2B')
|
local tag = string.gsub(tag, "+", '%%20')
|
||||||
if matches[1] == 'ibsearch' then
|
if matches[1] == 'ibsearch' then
|
||||||
url, id = ibSearch:get_ibSearch_sfw(tag)
|
url, id = ibSearch:get_ibSearch_sfw(tag)
|
||||||
elseif matches[1] == 'ibnsfw' then
|
elseif matches[1] == 'ibnsfw' then
|
||||||
|
Reference in New Issue
Block a user