Archived
1
0

implement more of XHDR

This commit is contained in:
Jeff Becker 2017-09-26 10:15:52 -04:00
parent 3ee449062e
commit be7efb24cd
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -1110,7 +1110,12 @@ func (self *nntpConnection) handleLine(daemon *NNTPDaemon, code int, line string
var hdr string var hdr string
if len(parts) == 2 { if len(parts) == 2 {
// XHDR headername // XHDR headername
hdr = parts[1]
if self.selected_article == "" {
conn.PrintfLine("420 No Current Article selected")
return
}
msgid = self.selected_article
} else if len(parts) == 3 { } else if len(parts) == 3 {
// message id // message id
msgid = parts[2] msgid = parts[2]