X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=lib%2FPublicInbox%2FUnsubscribe.pm;h=11a347ee82f4e6f138d04c1524a2a9f3e6987558;hb=6e6f7999361925e4c944f308df4bc32a1842cd69;hp=46d5d8d7ea286844eb8f353650fc9ba1067d324a;hpb=79bf257cbc4e188992f540d6b4ae1bd5cbcf26ee;p=public-inbox.git diff --git a/lib/PublicInbox/Unsubscribe.pm b/lib/PublicInbox/Unsubscribe.pm index 46d5d8d7..11a347ee 100644 --- a/lib/PublicInbox/Unsubscribe.pm +++ b/lib/PublicInbox/Unsubscribe.pm @@ -1,4 +1,4 @@ -# Copyright (C) 2016 all contributors +# Copyright (C) 2016-2018 all contributors # License: AGPL-3.0+ # # Standalone PSGI app to handle HTTP(s) unsubscribe links generated @@ -136,7 +136,7 @@ sub r { my ($self, $code, $title, @body) = @_; [ $code, [ @CT_HTML ], [ "$title
".
-		join("\n", "$title\n", @body) . '

'. + join("\n", "$title\n", @body) . '
'. "
This page is available under AGPL-3.0+\n" .
 		"git clone $self->{code_url}\n" .
 		qq(Email $self->{contact} if you have any questions).
@@ -151,9 +151,9 @@ sub archive_info {
 	unless ($archive_url) {
 		if (my $config = $self->{pi_config}) {
 			# PublicInbox::Config::lookup
-			my $inbox = $config->lookup($list_addr);
+			my $ibx = $config->lookup($list_addr);
 			# PublicInbox::Inbox::base_url
-			$archive_url = $inbox->base_url if $inbox;
+			$archive_url = $ibx->base_url if $ibx;
 		}
 	}