implement more of XHDR
This commit is contained in:
parent
3ee449062e
commit
be7efb24cd
@ -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]
|
||||||
|
Reference in New Issue
Block a user