summaryrefslogtreecommitdiff
path: root/data/rbot/plugins
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-08-03 09:13:26 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-08-03 09:13:26 +0200
commit58e65601becf1d3a1febf1d6067cd66754711c8b (patch)
tree6d89cdda20db72615b769360ce89fa3aeab98cee /data/rbot/plugins
parentaa2afb7a47f5447cf882861fe817d9782291512b (diff)
iplookup plugin: don't block
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r--data/rbot/plugins/iplookup.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/data/rbot/plugins/iplookup.rb b/data/rbot/plugins/iplookup.rb
index 715595e2..87c94699 100644
--- a/data/rbot/plugins/iplookup.rb
+++ b/data/rbot/plugins/iplookup.rb
@@ -214,9 +214,9 @@ class IPLookupPlugin < Plugin
end
plugin = IPLookupPlugin.new
-plugin.map 'iplookup :ip', :action => 'iplookup', :requirements => {:ip => /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/}
-plugin.map 'iplookup :domain', :action => 'iplookup', :requirements => {:domain => /^[a-z0-9\.\-]{4,255}$/i}
-plugin.map 'userip :user', :action => 'userip', :requirements => {:user => /\w+/}
+plugin.map 'iplookup :ip', :action => 'iplookup', :requirements => {:ip => /^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/}, :thread => true
+plugin.map 'iplookup :domain', :action => 'iplookup', :requirements => {:domain => /^[a-z0-9\.\-]{4,255}$/i}, :thread => true
+plugin.map 'userip :user', :action => 'userip', :requirements => {:user => /\w+/}, :thread => true
if __FILE__ == $0