summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-12-04 20:44:19 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-12-04 20:44:19 +0000
commitd3f563a8e2937416c379df030f9d2d1287eadf0e (patch)
treef31613ff599935fd4ba784c3f19de7045c9febd2 /data
parentb87fc722526887d0479a352c5bdfba3f3f7504df (diff)
rss plugin: display author if present in default format
Diffstat (limited to 'data')
-rw-r--r--data/rbot/plugins/rss.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb
index 7f645c81..2d72312a 100644
--- a/data/rbot/plugins/rss.rb
+++ b/data/rbot/plugins/rss.rb
@@ -903,6 +903,7 @@ class RSSFeedsPlugin < Plugin
line1 = "#{handle}#{date}#{dept}#{title}#{at}#{link} (posted by #{author}#{sec})"
else
line1 = "#{handle}#{date}#{title}#{at}#{link}"
+ line1 << " (by #{author})" if author
end
places.each { |loc|
@bot.say loc, line1, :overlong => :truncate