]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Factoids/Core.pl
- kill fork if it has run for too long, and still exists!
[infobot.git] / src / Factoids / Core.pl
index 5a473d4ab70442263b2c30d5cd60883fef35f500..d8d559a0a8b2202a5afc1521f16f174314c1113b 100644 (file)
@@ -178,7 +178,7 @@ sub FactoidStuff {
                # todo: make forget limit configurable.
                # todo: make forget ignore time configurable.
                if ($cache{forget}{$h} > 5) {
-                   &ignoreAdd($mask{nuh}, "*", 3*24*60*60, "abuse of forget");
+                   &ignoreAdd(&makeHostMask($nuh), "*", 3*24*60*60, "abuse of forget");
                    &msg($who, "forget: Suck it!");
                }
            }