summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-03-17 18:50:31 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-03-17 18:50:31 +0100
commitbebde5f254e40c7cce6c068a17e7f2c575611db0 (patch)
treebf5f0740e0614c6f0361630fe8fb4ca05d23ea34 /data
parent6260e6cf683d6c709a90e49148dd4b058c90d82f (diff)
rss plugin: make_stream final Hash should be optional
Diffstat (limited to 'data')
-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 3b790bac..3fa38008 100644
--- a/data/rbot/plugins/rss.rb
+++ b/data/rbot/plugins/rss.rb
@@ -287,7 +287,7 @@ class RSSFeedsPlugin < Plugin
# Auxiliary method used to collect two lines for rss output filters,
# running substitutions against DataStream _s_ optionally joined
# with hash _h_
- def make_stream(line1, line2, s, h)
+ def make_stream(line1, line2, s, h={})
DataStream.new([line1, line2].compact.join("\n") % s.merge(h))
end