]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/Math.pl
- I broke maths when I tried to fix "999!" - fixed :-)
[infobot.git] / src / Modules / Math.pl
index bf1b41a3c53a52dddf19525e1cb4515b36217a26..c5a1f6bbfc8a8c0793ed754e0d2bdd02fcdb1805 100644 (file)
@@ -125,9 +125,11 @@ sub perlMath {
        $locMsg = "";
     }
 
-    if (defined $logMsg and $locMsg ne $message) {
+    if (defined $locMsg and $locMsg ne $message) {
+       # success.
        return $locMsg;
     } else {
+       # no match.
        return '';
     }
 }