summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rbot/core/utils/utils.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/rbot/core/utils/utils.rb b/lib/rbot/core/utils/utils.rb
index 8be0f170..7856f70a 100644
--- a/lib/rbot/core/utils/utils.rb
+++ b/lib/rbot/core/utils/utils.rb
@@ -506,8 +506,10 @@ module ::Irc
end
# Get the first pars of the first _count_ _urls_.
- # The pages are downloaded using an HttpUtil service passed as _opts_ :http_util,
- # and echoed as replies to the IRC message passed as _opts_ :message.
+ # The pages are downloaded using the bot httputil service.
+ # Returns an array of the first paragraphs fetched.
+ # If (optional) _opts_ :message is specified, those paragraphs are
+ # echoed as replies to the IRC message passed as _opts_ :message
#
def Utils.get_first_pars(urls, count, opts={})
idx = 0