pattern-fix for webshot.lua and url_title.lua

This commit is contained in:
Akamaru 2015-06-23 16:40:17 +02:00
parent 243418237b
commit 425a32a4f8
2 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,7 @@ function run(msg, matches)
return {
description = "Postet URL-Titel",
usage = {"Irgendein Link"},
patterns = {"^(https?://[%w-_%.%?%.:,/%+=&#]+)$",},
patterns = {"^(https?://[%w-_%.%?%.:,/%+=&#!]+)$",},
run = run
}
end

View File

@ -49,8 +49,8 @@ return {
description = "Sendet einen Screenshot einer Webseite.",
usage = "/webshot [URL]//scrot [URL]",
patterns = {
"^/webshot (https?://[%w-_%.%?%.:/%+=&]+)$",
"^/scrot (https?://[%w-_%.%?%.:/%+=&]+)$"
"^/webshot (https?://[%w-_%.%?%.:,/%+=&#!]+)$",
"^/scrot (https?://[%w-_%.%?%.:,/%+=&#!]+)$"
},
run = run
}