From bebde5f254e40c7cce6c068a17e7f2c575611db0 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Mon, 17 Mar 2008 18:50:31 +0100 Subject: [PATCH] rss plugin: make_stream final Hash should be optional --- data/rbot/plugins/rss.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5