summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-02-10 13:32:41 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-02-10 22:08:11 +0100
commit961c53c18e31adde04acaa543d3d7226fef5c405 (patch)
treea45e5b001f66f4f41ff6ff13c8557fb51ba437e7 /data
parentcad39e95f8f430c4923c80744c47fca8ba257d1a (diff)
rss plugin: use += instead of <<, we don't want to mess with the original author value
Diffstat (limited to 'data')
-rw-r--r--data/rbot/plugins/rss.rb4
1 files changed, 2 insertions, 2 deletions
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}"