Archived
1
0

immediate return

This commit is contained in:
Jeff Becker 2017-04-23 08:00:01 -04:00
parent cac9979280
commit e9620558ac

View File

@ -442,6 +442,7 @@ func (self *nntpConnection) checkMIMEHeaderNoAuth(daemon *NNTPDaemon, hdr textpr
} else if !self.policy.AllowsNewsgroup(newsgroup) {
reason = "newsground not allowed by feed policy"
ban = true
return
} else if !(ValidMessageID(msgid) || (reference != "" && !ValidMessageID(reference))) {
// invalid message id or reference
reason = "invalid reference or message id is '" + msgid + "' reference is '" + reference + "'"