Kleine Fixes

This commit is contained in:
Akamaru 2016-10-22 23:12:23 +02:00
parent 9fa5d55858
commit aba8b43a76
2 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
local get_txt = {}
get_txt.triggers = {
"(https?://.*.txt)"
"(https?://.*%.txt)"
}
function get_txt:action(msg, config, matches)

View File

@ -363,6 +363,7 @@ function rss:cron()
else
content = ''
end
local content = content:gsub('\n', '')
text = text..'\n<b>[</b>#RSS<b>] '..title..'</b>\n<i>'..feed_title..'</i>\n'..utilities.trim(content)..'\n<a href="'..link..'">Auf '..link_name..' ansehen.</a>\n'
end
if text ~= '' then