try fixing scrape from inn2
This commit is contained in:
parent
61c35b7652
commit
ab37624a7a
@ -1362,7 +1362,7 @@ func (self *nntpConnection) scrapeServer(daemon *NNTPDaemon, conn *textproto.Con
|
|||||||
success := true
|
success := true
|
||||||
if success {
|
if success {
|
||||||
// send newsgroups command
|
// send newsgroups command
|
||||||
err = conn.PrintfLine("NEWSGROUPS %d 000000 GMT", timeNow())
|
err = conn.PrintfLine("LIST NEWSGROUPS")
|
||||||
if err == nil {
|
if err == nil {
|
||||||
// read response line
|
// read response line
|
||||||
code, _, err := conn.ReadCodeLine(231)
|
code, _, err := conn.ReadCodeLine(231)
|
||||||
|
Reference in New Issue
Block a user