Archived
1
0
This commit is contained in:
Jeff Becker 2017-04-23 07:58:45 -04:00
parent fdb6831064
commit cac9979280

View File

@ -439,7 +439,7 @@ func (self *nntpConnection) checkMIMEHeaderNoAuth(daemon *NNTPDaemon, hdr textpr
reason = "poster's pubkey is banned" reason = "poster's pubkey is banned"
ban = true ban = true
return return
} else if self.policy != nil && !self.policy.AllowsNewsgroup(newsgroup) { } else if !self.policy.AllowsNewsgroup(newsgroup) {
reason = "newsground not allowed by feed policy" reason = "newsground not allowed by feed policy"
ban = true ban = true
} else if !(ValidMessageID(msgid) || (reference != "" && !ValidMessageID(reference))) { } else if !(ValidMessageID(msgid) || (reference != "" && !ValidMessageID(reference))) {