foreach my $addr (@address) {
my $found = $cfg->lookup($addr);
if ($found) {
- if ($found->{listname} ne $name) {
+ if ($found->{name} ne $name) {
print STDERR
"`$addr' already defined for ",
- "`$found->{listname}',\n",
+ "`$found->{name}',\n",
"does not match intend `$name'\n";
$conflict = 1;
} else {