diff options
author | Yorhel <git@yorhel.nl> | 2020-07-16 07:30:36 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2020-07-16 07:30:38 +0200 |
commit | f9daf6bd9bc4bc72a85222dd5e49d0b8a5308e4d (patch) | |
tree | 24373e81f288fce78d70c5607ad439e618d9c367 /lib | |
parent | 8d4d759256316de49710796152488ba1da09f731 (diff) |
ULists::List: Remove link to XML export from HTML when not available
Saw some bots attempt to crawl it. Not much of an issue, but not
including the HTML keeps the pages a tiny bit smaller, if nothing else.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/VNWeb/ULists/List.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNWeb/ULists/List.pm b/lib/VNWeb/ULists/List.pm index 4f2dcff2..659c0929 100644 --- a/lib/VNWeb/ULists/List.pm +++ b/lib/VNWeb/ULists/List.pm @@ -333,7 +333,7 @@ TUWF::get qr{/$RE{uid}/ulist}, sub { br_; br_; a_ href => "/u$u->{id}/list-export/xml", "Download XML export."; - }; + } if $own; } }; listing_ $u->{id}, $own, $opt, $labels, \&url if !$empty; |