diff options
-rw-r--r-- | lib/rbot/core/utils/utils.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/core/utils/utils.rb b/lib/rbot/core/utils/utils.rb index e251178e..faf42b63 100644 --- a/lib/rbot/core/utils/utils.rb +++ b/lib/rbot/core/utils/utils.rb @@ -541,8 +541,8 @@ module ::Irc when Net::HTTPSuccess ret[:headers] = resp.to_hash + partial = resp.partial_body(@@bot.config['http.info_bytes']) if resp['content-type'] =~ /^text\/|(?:x|ht)ml/ - partial = resp.partial_body(@@bot.config['http.info_bytes']) ret.merge!(Utils.get_string_html_info(partial, opts)) end return ret |