]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Misc.pl
validFactoid.
[infobot.git] / src / Misc.pl
index 9cb32b5b13300537f36bacbedea6203b5113fb95..22bef8f46c84f3386effabf5028c00167e5ec4b8 100644 (file)
@@ -514,6 +514,7 @@ sub validFactoid {
        /^\S+ to \S+ \S+/ and last;     # babelfish.
 
        /^\=/ and last;                 # botnick = heh is.
+       /wants you to know/ and last;
 
        # symbols.
        /(\"\*)/ and last;
@@ -605,7 +606,7 @@ sub Forker {
        $pid = eval { fork() };
        return $noreply if $pid;        # parent does nothing
        &status("fork starting for '$label', PID == $$.");
-       &shmWrite($shm,"SET FORKPID $name $$");
+       &shmWrite($shm,"SET FORKPID $label $$");
     }
 
     if (!&loadMyModule($myModules{$label})) {