]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Factoids/Statement.pl
"~forget blah" now works. thanks to ElectricElf
[infobot.git] / src / Factoids / Statement.pl
index 6c05f93a075d27a2a8025b032600fd2d1b9904d5..ae0ffa4b6f78292d88c7d1909f08b75aab289212 100644 (file)
@@ -65,14 +65,14 @@ sub doStatement {
 
        # break if either lhs or rhs is NULL.
        if ($lhs eq "" or $rhs eq "") {
-           return;
+           return "NOT-A-STATEMENT";
        }
 
        # lets check if it failed.
        if (&validFactoid($lhs,$rhs) == 0) {
            if ($addressed) {
                &status("IGNORE statement: <$who> $message");
-               &performReply( &getRandom(keys %{$lang{'confused'}}) );
+               &performReply( &getRandom(keys %{ $lang{'confused'} }) );
            }
            return;
        }