url_title ignores 302 Moved
This commit is contained in:
parent
7534694efc
commit
d1dfb87752
@ -32,11 +32,12 @@ function run(msg, matches)
|
|||||||
title == "" or
|
title == "" or
|
||||||
title == "404 Not Found" or
|
title == "404 Not Found" or
|
||||||
title == "302 Found" or
|
title == "302 Found" or
|
||||||
|
title == "302 Moved" or
|
||||||
title == "Moved Permanently" or
|
title == "Moved Permanently" or
|
||||||
string.match(title, "deviantArt") or
|
string.match(title, "deviantArt") or
|
||||||
string.match(title, "twitch") or
|
string.match(title, "twitch") or
|
||||||
string.match(title, "eBay</title>") or
|
string.match(title, "eBay</title>") or
|
||||||
string.match(title, "Twitch") then
|
string.match(title, "Twitch</title>") then
|
||||||
print('Invalide, da "'..title..'"')
|
print('Invalide, da "'..title..'"')
|
||||||
else
|
else
|
||||||
return title
|
return title
|
||||||
|
Reference in New Issue
Block a user