From ab37624a7ab42457007581b91a58d04bcf19d569 Mon Sep 17 00:00:00 2001 From: Jeff Becker Date: Sun, 24 Sep 2017 10:16:08 -0400 Subject: [PATCH] try fixing scrape from inn2 --- contrib/backends/srndv2/src/srnd/nntp.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/backends/srndv2/src/srnd/nntp.go b/contrib/backends/srndv2/src/srnd/nntp.go index 3e1bcc1..4d2e559 100644 --- a/contrib/backends/srndv2/src/srnd/nntp.go +++ b/contrib/backends/srndv2/src/srnd/nntp.go @@ -1362,7 +1362,7 @@ func (self *nntpConnection) scrapeServer(daemon *NNTPDaemon, conn *textproto.Con success := true if success { // send newsgroups command - err = conn.PrintfLine("NEWSGROUPS %d 000000 GMT", timeNow()) + err = conn.PrintfLine("LIST NEWSGROUPS") if err == nil { // read response line code, _, err := conn.ReadCodeLine(231)