From d1dfb87752e1faf7f660f965c999fcfb36d40940 Mon Sep 17 00:00:00 2001 From: Akamaru Date: Wed, 22 Apr 2015 16:49:24 +0200 Subject: [PATCH] url_title ignores 302 Moved --- plugins/url_title.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/url_title.lua b/plugins/url_title.lua index edb6d0d..d980765 100644 --- a/plugins/url_title.lua +++ b/plugins/url_title.lua @@ -32,11 +32,12 @@ function run(msg, matches) title == "" or title == "404 Not Found" or title == "302 Found" or + title == "302 Moved" or title == "Moved Permanently" or string.match(title, "deviantArt") or string.match(title, "twitch") or string.match(title, "eBay") or - string.match(title, "Twitch") then + string.match(title, "Twitch") then print('Invalide, da "'..title..'"') else return title