From 58e65601becf1d3a1febf1d6067cd66754711c8b Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sun, 3 Aug 2008 09:13:26 +0200 Subject: iplookup plugin: don't block --- data/rbot/plugins/iplookup.rb | 6 +++--- 1 file 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 -- cgit v1.2.3