pattern-fix for webshot.lua

This commit is contained in:
Akamaru 2015-06-24 02:31:20 +02:00
parent f0c4cb25bf
commit f498dfe32e

View File

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