diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-12-04 20:44:19 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-12-04 20:44:19 +0000 |
commit | d3f563a8e2937416c379df030f9d2d1287eadf0e (patch) | |
tree | f31613ff599935fd4ba784c3f19de7045c9febd2 /data | |
parent | b87fc722526887d0479a352c5bdfba3f3f7504df (diff) |
rss plugin: display author if present in default format
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/plugins/rss.rb | 1 |
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
|