summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/rbot/plugins/rss.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb
index 3b8e8c7d..4cee9ef5 100644
--- a/data/rbot/plugins/rss.rb
+++ b/data/rbot/plugins/rss.rb
@@ -938,7 +938,8 @@ class RSSFeedsPlugin < Plugin
when 'gmane'
line1 = "#{handle}#{date}Message #{title} sent by #{author}. #{desc}"
when 'trac'
- line1 = "#{handle}#{date}#{title} @ #{link}"
+ author = author.sub(/@\S+?\s*>/, "@...>") + ": " if author
+ line1 = "#{handle}#{date}#{author}#{title} @ #{link}"
unless item.title =~ /^(?:Changeset \[(?:[\da-f]+)\]|\(git commit\))/
line2 = "#{handle}#{date}#{desc}"
end