]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Factoids/Statement.pl
Many changes, basically added and integrated News, and bug fixes.
[infobot.git] / src / Factoids / Statement.pl
index 903a4f857d717380efdb031e136940012e54f808..6c05f93a075d27a2a8025b032600fd2d1b9904d5 100644 (file)
@@ -99,9 +99,8 @@ sub doStatement {
            }
        }
 
-       if (&update($lhs, $mhs, $rhs)) {
-           return;     # success.
-       }
+       # success.
+       return if (&update($lhs, $mhs, $rhs));
     }
 
     return "CONTINUE";