ignoring urbanup.com in url_title.lua

This commit is contained in:
Akamaru 2015-07-13 23:01:19 +02:00
parent b95afbb819
commit 39608e9205

View File

@ -51,8 +51,9 @@ function run(msg, matches)
string.match(title, "eBay</title>") or
string.match(msg.text, "twitch.tv") or
string.match(msg.text, "steamcommunity.com/app/") or
string.match(msg.text, "deviantart.com") then
print('Nicht gültig, da "'..title..'"')
string.match(msg.text, "deviantart.com") or
string.match(msg.text, "urbanup.com/") then
print('Ungültig, da "'..title..'"')
else
return title
end