From: timriker Date: Sun, 19 Oct 2003 20:23:08 +0000 (+0000) Subject: eep, skip the match X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=60f70c7b333b01addddd62aeae64a8c576c3471d;p=infobot.git eep, skip the match git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@851 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/src/CommandStubs.pl b/src/CommandStubs.pl index 3dd5715..3a2814c 100644 --- a/src/CommandStubs.pl +++ b/src/CommandStubs.pl @@ -296,7 +296,7 @@ sub Modules { } # google searching. Simon++ - if ($message =~ /^(?:search\s+)?($w3search_regex)\s+(for\s+)?['"]?(.*?)["']?\s*\?*$/i) { + if ($message =~ /^(?:search\s+)?($w3search_regex)\s+(?:for\s+)?['"]?(.*?)["']?\s*\?*$/i) { return unless (&hasParam("wwwsearch")); &Forker("wwwsearch", sub { &W3Search::W3Search($1,$2); } );