Archived
1
0

Merge pull request #159 from cathugger/master

fix ARTICLE not returning any error
This commit is contained in:
Jeff 2018-11-25 13:08:22 -05:00 committed by GitHub
commit be7eec855a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -776,10 +776,13 @@ func (self *nntpConnection) handleLine(daemon *NNTPDaemon, code int, line string
// wtf?!
conn.PrintfLine("503 idkwtf happened: %s", err.Error())
}
} else {
// we dont got it (by msgid)
conn.PrintfLine("430 %s", msgid)
}
} else {
// we dont got it
conn.PrintfLine("430 %s", msgid)
// we dont got it (by num)
conn.PrintfLine("423 %s", msgid)
}
} else if cmd == "IHAVE" {
if !self.authenticated {