Fixing up numbers and totals
[clearscm.git] / maps / bin / add2blacklist.cgi
index 34fb5e9..bfa8f4d 100755 (executable)
@@ -52,7 +52,7 @@ sub Add2List(%) {
 
     my ($status, $rule) = OnBlacklist($rec{sender});
 
-    if ($status != 0) {
+    if ($status) {
       print br {-class => 'error'},
         "The email address $rec{sender} is already on ${Userid}'s $rec{type} list";
     } else {