about summary refs log tree commit homepage
path: root/Documentation/mknews.perl
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-04-18 03:38:51 +0000
committerEric Wong <e@yhbt.net>2020-04-19 08:51:26 +0000
commitc91490ccae1a1775da1e816866ef0b08b234ff54 (patch)
treeb5ea5cbccce40c90ac3bd2a5656061ad31bd65cf /Documentation/mknews.perl
parenta479b45117ed69d9311770fa39e6676d38f9cab2 (diff)
downloadpublic-inbox-c91490ccae1a1775da1e816866ef0b08b234ff54.tar.gz
There's no need to pollute the cross-package $ctx with it.
Diffstat (limited to 'Documentation/mknews.perl')
-rwxr-xr-xDocumentation/mknews.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/mknews.perl b/Documentation/mknews.perl
index adb83832..a9dede00 100755
--- a/Documentation/mknews.perl
+++ b/Documentation/mknews.perl
@@ -127,7 +127,7 @@ sub atom_start {
         require PublicInbox::WwwAtomStream;
         # WwwAtomStream stats this dir for mtime
         my $astream = PublicInbox::WwwAtomStream->new($ctx);
-        delete $ctx->{emit_header};
+        delete $astream->{emit_header};
         my $ibx = $ctx->{-inbox};
         my $title = PublicInbox::WwwAtomStream::title_tag($ibx->description);
         my $updated = PublicInbox::WwwAtomStream::feed_updated(gmtime($mtime));