summaryrefslogtreecommitdiff
path: root/data/rbot/plugins
diff options
context:
space:
mode:
authorDmitry Kim <dmitry point kim at gmail point com>2007-03-30 07:52:44 +0000
committerDmitry Kim <dmitry point kim at gmail point com>2007-03-30 07:52:44 +0000
commit14a47359090290fb82d86e7b3feab4b702b0848d (patch)
tree4587c00043579766c690001b37a1490acd2bf0d5 /data/rbot/plugins
parent0cc4178d6abf048c81b886420a9a26cf11828afe (diff)
- (utils.rb) removed http_get, since it's obsoleted
+ (utils.rb) added @@bot class variable * (utils.rb) get_first_pars should return a value * (plugins) no need to pass http_util to the Utils.get_first_pars
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r--data/rbot/plugins/dict.rb2
-rw-r--r--data/rbot/plugins/search.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/dict.rb b/data/rbot/plugins/dict.rb
index 149233d3..504a9d7b 100644
--- a/data/rbot/plugins/dict.rb
+++ b/data/rbot/plugins/dict.rb
@@ -92,7 +92,7 @@ class DictPlugin < Plugin
return unless first_pars > 0
- Utils.get_first_pars urls, first_pars, :http_util => @bot.httputil, :message => m,
+ Utils.get_first_pars urls, first_pars, :message => m,
:strip => /^\S+\s+-\s+/
end
diff --git a/data/rbot/plugins/search.rb b/data/rbot/plugins/search.rb
index 3b7d6826..221071cb 100644
--- a/data/rbot/plugins/search.rb
+++ b/data/rbot/plugins/search.rb
@@ -87,7 +87,7 @@ class SearchPlugin < Plugin
return unless first_pars > 0
- Utils.get_first_pars urls, first_pars, :http_util => @bot.httputil, :message => m
+ Utils.get_first_pars urls, first_pars, :message => m
end