Fixing up numbers and totals
[clearscm.git] / maps / bin / add2nulllist.cgi
index e222fa0..1007526 100755 (executable)
@@ -53,7 +53,7 @@ sub Add2List(%) {
 
     my ($status, $rule) = OnNulllist($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 {