From 961c53c18e31adde04acaa543d3d7226fef5c405 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sun, 10 Feb 2008 13:32:41 +0100 Subject: rss plugin: use += instead of <<, we don't want to mess with the original author value --- data/rbot/plugins/rss.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'data/rbot/plugins') diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb index c5466dc6..1da488c3 100644 --- a/data/rbot/plugins/rss.rb +++ b/data/rbot/plugins/rss.rb @@ -895,12 +895,12 @@ class RSSFeedsPlugin < Plugin case feed.type when 'blog' - author << " " if author + author += " " if author abt = category ? "about #{category} " : "" line1 = "#{handle}#{date}#{author}blogged #{abt}at #{link}" line2 = "#{handle}#{title} - #{desc}" when 'git' - author << " " if author + author += " " if author line1 = "#{handle}#{date}#{author}commited #{title} @ #{link}" when 'forum' line1 = "#{handle}#{date}#{title}#{at}#{link}" -- cgit v1.2.3