summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/rss.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb
index f0224a94..9e85b416 100644
--- a/data/rbot/plugins/rss.rb
+++ b/data/rbot/plugins/rss.rb
@@ -315,7 +315,7 @@ class RSSFeedsPlugin < Plugin
def define_filters
@outkey = :"rss.out"
@bot.register_filter(:headlines, @outkey) { |s|
- line1 = "%{handle}%{title}"
+ line1 = (s[:handle].empty? ? "%{date}" : "%{handle}") << "%{title}"
make_stream(line1, nil, s)
}
@bot.register_filter(:blog, @outkey) { |s|