fix ARTICLE not returning any error
Yes, I'm aware it sometimes may still return wrong code.
This commit is contained in:
parent
3fb9140a07
commit
91e758c834
@ -776,10 +776,13 @@ func (self *nntpConnection) handleLine(daemon *NNTPDaemon, code int, line string
|
|||||||
// wtf?!
|
// wtf?!
|
||||||
conn.PrintfLine("503 idkwtf happened: %s", err.Error())
|
conn.PrintfLine("503 idkwtf happened: %s", err.Error())
|
||||||
}
|
}
|
||||||
|
} else {
|
||||||
|
// we dont got it (by msgid)
|
||||||
|
conn.PrintfLine("430 %s", msgid)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// we dont got it
|
// we dont got it (by num)
|
||||||
conn.PrintfLine("430 %s", msgid)
|
conn.PrintfLine("423 %s", msgid)
|
||||||
}
|
}
|
||||||
} else if cmd == "IHAVE" {
|
} else if cmd == "IHAVE" {
|
||||||
if !self.authenticated {
|
if !self.authenticated {
|
||||||
|
Reference in New Issue
Block a user