]> Sergey Matveev's repositories - public-inbox.git/blobdiff - script/public-inbox-init
declare Inbox object for reusability
[public-inbox.git] / script / public-inbox-init
index ca0f9ddfa8fe0de98a6ec0498b6477d348553cdb..54d6ce4c11743c7137352379bb6f83c83fa4f8cc 100755 (executable)
@@ -43,10 +43,10 @@ if (-e $pi_config) {
        foreach my $addr (@address) {
                my $found = $cfg->lookup($addr);
                if ($found) {
-                       if ($found->{inbox} ne $name) {
+                       if ($found->{name} ne $name) {
                                print STDERR
                                        "`$addr' already defined for ",
-                                       "`$found->{inbox}',\n",
+                                       "`$found->{name}',\n",
                                        "does not match intend `$name'\n";
                                $conflict = 1;
                        } else {