]> git.proxmox.com Git - pmg-api.git/blobdiff - PMG/ClusterConfig.pm
fix #2153: allow "'" in quarantine email addresses
[pmg-api.git] / PMG / ClusterConfig.pm
index cc6ccc6c0f479267e9aa62bc798b5605a591210b..af58d76573f41357d98ec3d204df4fa8411906c4 100644 (file)
@@ -206,8 +206,9 @@ sub read_cluster_conf {
        $cinfo->{master}->{maxcid} = $maxcid;
     }
 
+    my $local_cid = $cinfo->{local}->{cid};
     foreach my $cid (sort keys %{$cinfo->{ids}}) {
-       if ($cinfo->{'local'}->{cid} != $cid) {
+       if ($local_cid != $cid) {
            push @{$cinfo->{remnodes}}, $cid;
        }
     }