]> git.donarmstrong.com Git - infobot.git/commitdiff
validFactoid.
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sun, 3 Dec 2000 13:46:05 +0000 (13:46 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Sun, 3 Dec 2000 13:46:05 +0000 (13:46 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@175 c11ca15a-4712-0410-83d8-924469b57eb5

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})) {