rjp-jabber_cat 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/jabber_cat.rb +4 -0
- metadata +1 -1
data/bin/jabber_cat.rb
CHANGED
@@ -50,6 +50,10 @@ end
|
|
50
50
|
# TODO handle failing here with exceptions
|
51
51
|
config = YAML::load(open($options[:config]))
|
52
52
|
|
53
|
+
unless config['options'].nil? then
|
54
|
+
$options.merge!(config['options'])
|
55
|
+
end
|
56
|
+
|
53
57
|
# make sure we always have a filters list
|
54
58
|
if config['filters'].nil? then
|
55
59
|
config['filters'] = []
|