Use ?split=false in dogify plugin
This commit is contained in:
parent
fc4c3eb4cf
commit
a752cabca5
@ -1,8 +1,8 @@
|
||||
local function run(msg, matches)
|
||||
local base = "http://dogr.io/"
|
||||
local path = string.gsub(matches[1], " ", "")
|
||||
local url = base .. path .. '.png'
|
||||
local urlm = "https?://[%w-_%.%?%.:/%+=&]+"
|
||||
local path = string.gsub(matches[1], " ", "%%20")
|
||||
local url = base .. path .. '.png?split=false&.png'
|
||||
local urlm = "https?://[%%%w-_%.%?%.:/%+=&]+"
|
||||
|
||||
if string.match(url, urlm) == url then
|
||||
local receiver = get_receiver(msg)
|
||||
|
Reference in New Issue
Block a user