git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@178
c11ca15a-4712-0410-83d8-
924469b57eb5
if (&IsParam("wwwsearch") and $message =~ /^(?:search\s+)?(\S+)\s+for\s+['"]?(.*?)['"]?\s*\?*$/i) {
return $noreply unless (&hasParam("wwwsearch"));
if (&IsParam("wwwsearch") and $message =~ /^(?:search\s+)?(\S+)\s+for\s+['"]?(.*?)['"]?\s*\?*$/i) {
return $noreply unless (&hasParam("wwwsearch"));
- &DEBUG("wwwsearch: 1 => $1");
- &DEBUG("wwwsearch: 2 => $2");
- &DEBUG("wwwsearch: 3 => $3");
-
- &Forker("wwwsearch", sub { &W3Search::W3Search($1,$2,$3); } );
+ &Forker("wwwsearch", sub { &W3Search::W3Search($1,$2); } );
$cmdstats{'WWWSearch'}++;
return $noreply;
$cmdstats{'WWWSearch'}++;
return $noreply;