summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordmitry kim <jason@nichego.net>2008-03-23 02:15:30 +0300
committerdmitry kim <jason@nichego.net>2008-03-23 02:15:30 +0300
commit09a5d3188420a10590917b7abc2de6cffb4327f5 (patch)
tree434f15ffb1a15e522ab81980b2ee4a9207f12bde
parent45fe7c191789f7cdc7def283be2551b0c28354dd (diff)
* plugins/search: thread, don't block
-rw-r--r--data/rbot/plugins/search.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/data/rbot/plugins/search.rb b/data/rbot/plugins/search.rb
index b2e950ec..28e3c8a3 100644
--- a/data/rbot/plugins/search.rb
+++ b/data/rbot/plugins/search.rb
@@ -191,11 +191,11 @@ end
plugin = SearchPlugin.new
-plugin.map "search *words", :action => 'google'
-plugin.map "google *words", :action => 'google'
-plugin.map "gcalc *words", :action => 'gcalc'
-plugin.map "gdef *words", :action => 'gdef'
-plugin.map "wp :lang *words", :action => 'wikipedia', :requirements => { :lang => /^\w\w\w?$/ }
-plugin.map "wp *words", :action => 'wikipedia'
-plugin.map "unpedia *words", :action => 'unpedia'
+plugin.map "search *words", :action => 'google', :threaded => true
+plugin.map "google *words", :action => 'google', :threaded => true
+plugin.map "gcalc *words", :action => 'gcalc', :threaded => true
+plugin.map "gdef *words", :action => 'gdef', :threaded => true
+plugin.map "wp :lang *words", :action => 'wikipedia', :requirements => { :lang => /^\w\w\w?$/ }, :threaded => true
+plugin.map "wp *words", :action => 'wikipedia', :threaded => true
+plugin.map "unpedia *words", :action => 'unpedia', :threaded => true