X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=scripts%2Fimport_slrnspool;h=e569d0044ad993d4866b149c07907640ade8afeb;hb=daab9cf0b8fcd66d1cb7f62f7ea9a8b0e32320ef;hp=1dccb8dd51c10793f06eca441eaf02156e15f427;hpb=9bd675d33ad1e49bd2ebe12a1d216216e61380de;p=public-inbox.git
diff --git a/scripts/import_slrnspool b/scripts/import_slrnspool
index 1dccb8dd..e569d004 100755
--- a/scripts/import_slrnspool
+++ b/scripts/import_slrnspool
@@ -1,5 +1,5 @@
#!/usr/bin/perl -w
-# Copyright (C) 2015-2019 all contributors
+# Copyright (C) 2015-2020 all contributors
# License: AGPL-3.0+
#
# Incremental (or one-shot) importer of a slrnpull news spool
@@ -26,7 +26,7 @@ my $config = PublicInbox::Config->new;
my $ibx = $config->lookup($recipient);
my $git = $ibx->git;
my $im;
-if (($ibx->{version} || 1) == 2) {
+if ($ibx->version == 2) {
require PublicInbox::V2Writable;
$im = PublicInbox::V2Writable->new($ibx);
$im->{parallel} = 0; # pointless to be parallel for a single message