lib/plugins/plugin.rb in rsence-pre-2.2.0.12 vs lib/plugins/plugin.rb in rsence-pre-2.2.0.13
- old
+ new
@@ -330,10 +330,9 @@
end
# @private Returns a sanitized copy of a single responder specification.
def sanitize_value_responders( responders_dirty )
if responders_dirty.class != Array
- warn "Unsupported responders type: #{responders_dirty.inspect} (expected Array or Hash). Trying work-around.." if responders_dirty.class != Hash and RSence.args[:debug]
responders_dirty = [ responders_dirty ]
end
responders_clean = []
responders_dirty.each do |responder_dirty|
if responder_dirty.class != Hash