about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiMark.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/LeiMark.pm')
-rw-r--r--lib/PublicInbox/LeiMark.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/LeiMark.pm b/lib/PublicInbox/LeiMark.pm
index 3b5e6c2c..9d77f4b4 100644
--- a/lib/PublicInbox/LeiMark.pm
+++ b/lib/PublicInbox/LeiMark.pm
@@ -105,8 +105,8 @@ sub input_net_cb { # imap_each, nntp_each cb
 sub lei_mark { # the "lei mark" method
         my ($lei, @argv) = @_;
         my $sto = $lei->_lei_store(1);
-        my $self = $lei->{mark} = bless { missing => 0 }, __PACKAGE__;
         $sto->write_prepare($lei);
+        my $self = bless { missing => 0 }, __PACKAGE__;
         $lei->ale; # refresh and prepare
         my $vmd_mod = vmd_mod_extract(\@argv);
         return $lei->fail(join("\n", @{$vmd_mod->{err}})) if $vmd_mod->{err};