Archived
1
0

make it compile

This commit is contained in:
Jeff 2018-10-27 07:00:58 -04:00
parent 9cecd94fc2
commit 142c40889b

View File

@ -760,7 +760,7 @@ func (self *nntpConnection) handleLine(daemon *NNTPDaemon, code int, line string
} }
} }
if ValidMessageID(msgid) { if ValidMessageID(msgid) {
if daemon.database.IsBanned(msgid) { if daemon.database.ArticleBanned(msgid) {
// article banned // article banned
conn.PrintfLine("439 %s article banned from server", msgid) conn.PrintfLine("439 %s article banned from server", msgid)
} else if daemon.store.HasArticle(msgid) { } else if daemon.store.HasArticle(msgid) {