From 8115edef0169d95f0ebb64d77364e346e9452099 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 11 Feb 2009 21:00:22 +0100 Subject: utils: htmlinfo filtering doc cleanups Fix a typo in a comment and specify 'htmlinfo' in the debug message. --- lib/rbot/core/utils/utils.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rbot/core/utils/utils.rb b/lib/rbot/core/utils/utils.rb index 4cd0dceb..5c44cf09 100644 --- a/lib/rbot/core/utils/utils.rb +++ b/lib/rbot/core/utils/utils.rb @@ -632,7 +632,7 @@ module ::Irc # returns non-nil, its results are merged in _ds_ and returned. Otherwise # nil is returned. # - # The input DataStream shuold have the downloaded HTML as primary key + # The input DataStream should have the downloaded HTML as primary key # (:text) and possibly a :headers key holding the resonse headers. # def Utils.try_htmlinfo_filters(ds) @@ -641,7 +641,7 @@ module ::Irc cur = nil # TODO filter priority filters.each { |n| - debug "testing filter #{n}" + debug "testing htmlinfo filter #{n}" cur = @@bot.filter(@@bot.global_filter_name(n, :htmlinfo), ds) debug "returned #{cur.pretty_inspect}" break if cur -- cgit v1.2.3