]> git.donarmstrong.com Git - infobot.git/blobdiff - src/CommandStubs.pl
wwwsearch -> W3Search
[infobot.git] / src / CommandStubs.pl
index 7383d1a681b3356b369447943433eecb78420d2d..9d986f5e39415e8d75dc918f008954e4860592f4 100644 (file)
@@ -297,11 +297,11 @@ sub Modules {
 
     # google searching. Simon++
     if ($message =~ /^(?:search\s+)?($w3search_regex)\s+(?:for\s+)?['"]?(.*?)["']?\s*\?*$/i) {
-       return unless (&hasParam("wwwsearch"));
+       return unless (&hasParam('W3Search'));
 
-       &Forker("wwwsearch", sub { &W3Search::W3Search($1,$2); } );
+       &Forker('W3Search', sub { &W3Search::W3Search($1,$2); } );
 
-       $cmdstats{'WWWSearch'}++;
+       $cmdstats{'W3Search'}++;
        return;
     }