From f5604d35bbe02ad72a4e8d5b2189ea31acf1d7b5 Mon Sep 17 00:00:00 2001
From: Eric Wong <e@80x24.org>
Date: Fri, 27 Nov 2020 09:52:49 +0000
Subject: [PATCH] nntp: LIST ACTIVE.TIMES use angle brackets around address

This matches the example shown in RFC 3977, section 7.6.1.3
---
 lib/PublicInbox/NNTP.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/PublicInbox/NNTP.pm b/lib/PublicInbox/NNTP.pm
index 5cbf5a16..eb2c0b38 100644
--- a/lib/PublicInbox/NNTP.pm
+++ b/lib/PublicInbox/NNTP.pm
@@ -149,7 +149,7 @@ sub list_active_times ($;$) {
 	for my $ngname (grep(/$wildmat/, @{$self->{nntpd}->{groupnames}})) {
 		my $ibx = $groups->{$ngname};
 		my $c = eval { $ibx->uidvalidity } // time;
-		more($self, "$ngname $c $ibx->{-primary_address}");
+		more($self, "$ngname $c <$ibx->{-primary_address}>");
 	}
 }
 
-- 
2.51.0