summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-02-11 21:00:22 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2009-02-11 21:00:22 +0100
commit8115edef0169d95f0ebb64d77364e346e9452099 (patch)
tree86b4efdc44afaa064bee1d1bb9dc6784278387c2 /lib/rbot
parent7324b329dee26fd429033f85c1ec06e799b07994 (diff)
utils: htmlinfo filtering doc cleanups
Fix a typo in a comment and specify 'htmlinfo' in the debug message.
Diffstat (limited to 'lib/rbot')
-rw-r--r--lib/rbot/core/utils/utils.rb4
1 files 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