ignoring urbandictionary.com in url_title.lua

This commit is contained in:
Akamaru 2015-07-18 15:33:35 +02:00
parent 7555378358
commit e776c1ccb0
1 changed files with 2 additions and 1 deletions

View File

@ -52,7 +52,8 @@ function run(msg, matches)
string.match(msg.text, "twitch.tv") or
string.match(msg.text, "steamcommunity.com/app/") or
string.match(msg.text, "deviantart.com") or
string.match(msg.text, "urbanup.com/") then
string.match(msg.text, "urbanup.com/") or
string.match(msg.text, "urbandictionary.com/define.php") then
print('Ungültig, da "'..title..'"')
else
return title