From f718e371cf69711ac99e43dd1ab6385967dd8a82 Mon Sep 17 00:00:00 2001 From: Akamaru Date: Tue, 4 Oct 2016 00:51:20 +0200 Subject: [PATCH] rss.lua: Entferne noch "www." --- miku/plugins/rss.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/miku/plugins/rss.lua b/miku/plugins/rss.lua index 35dc356..5e53820 100644 --- a/miku/plugins/rss.lua +++ b/miku/plugins/rss.lua @@ -328,6 +328,7 @@ function rss:cron() local title = unescape(v2.title) or 'Kein Titel' local link = v2.link or v2.id or 'Kein Link' local link_name = link:match('^%w+://([^/]+)') + local link_name = link_name:gsub("www%.", "") if v2.content then content = v2.content:gsub("%b<>", "") if string.len(v2.content) > 250 then