From f7377723a8ba83bacad2406ffa7fd730ac1f9305 Mon Sep 17 00:00:00 2001 From: Akamaru Date: Thu, 3 Mar 2016 22:02:31 +0100 Subject: [PATCH] & durch + bei Plex ersetzt --- plugins/plex.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/plex.lua b/plugins/plex.lua index 275da58..e6dbf04 100644 --- a/plugins/plex.lua +++ b/plugins/plex.lua @@ -119,7 +119,7 @@ local data = json:decode(table.concat(response_body))._children[1] end local function run(msg, matches) - local query = URL.escape(matches[1]) + local query = string.gsub(URL.escape(matches[1]), '&', '+') local text, pic = get_plex(query) local receiver = get_receiver(msg) local file = download_to_file(pic)