From e266eff05213ca539d26f43d56118a1145aa9d1f Mon Sep 17 00:00:00 2001 From: Akamaru Date: Thu, 23 Jul 2015 20:32:43 +0200 Subject: [PATCH] pattern fix for webshot.lua --- plugins/webshot.lua | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins/webshot.lua b/plugins/webshot.lua index b429844..8f98c36 100644 --- a/plugins/webshot.lua +++ b/plugins/webshot.lua @@ -60,9 +60,13 @@ return { }, patterns = { "^/webshot ([T|t|S|s|E|e|N|n|M|m|L|l|X|x|F|f]) ([%w-_%.%?%.:,/%+=&#!]+)$", - "^/scrot ([T|t|S|s|E|e|N|n|M|m|L|l|X|x|F|f]) ([%w-_%.%?%.:,/%+=&#!]+)$", + "^/webshot ([T|t|S|s|E|e|N|n|M|m|L|l|X|x|F|f]) (https?://[%w-_%.%?%.:,/%+=&#!]+)$", "^/webshot ([%w-_%.%?%.:,/%+=&#!]+)$", - "^/scrot ([%w-_%.%?%.:,/%+=&#!]+)$" + "^/webshot (https?://[%w-_%.%?%.:,/%+=&#!]+)$", + "^/scrot ([T|t|S|s|E|e|N|n|M|m|L|l|X|x|F|f]) ([%w-_%.%?%.:,/%+=&#!]+)$", + "^/scrot ([T|t|S|s|E|e|N|n|M|m|L|l|X|x|F|f]) (https?://[%w-_%.%?%.:,/%+=&#!]+)$", + "^/scrot ([%w-_%.%?%.:,/%+=&#!]+)$", + "^/scrot (https?://[%w-_%.%?%.:,/%+=&#!]+)$" }, run = run } \ No newline at end of file