]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
rss plugin: use += instead of <<, we don't want to mess with the original author...
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 10 Feb 2008 12:32:41 +0000 (13:32 +0100)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 10 Feb 2008 21:08:11 +0000 (22:08 +0100)
data/rbot/plugins/rss.rb

index c5466dc65bbd9af2321dfa93fb0fd78ada91e558..1da488c3d804ca2813318c6cf2d1e864cbdc7711 100644 (file)
@@ -895,12 +895,12 @@ class RSSFeedsPlugin < Plugin
 \r
     case feed.type\r
     when 'blog'\r
-      author << " " if author\r
+      author += " " if author\r
       abt = category ? "about #{category} " : ""\r
       line1 = "#{handle}#{date}#{author}blogged #{abt}at #{link}"\r
       line2 = "#{handle}#{title} - #{desc}"\r
     when 'git'\r
-      author << " " if author\r
+      author += " " if author\r
       line1 = "#{handle}#{date}#{author}commited #{title} @ #{link}"\r
     when 'forum'\r
       line1 = "#{handle}#{date}#{title}#{at}#{link}"\r