Archived
1
0

fix sa hook

This commit is contained in:
Jeff Becker 2017-11-07 14:22:34 -05:00
parent 210a2109a7
commit d2552c5cd1
No known key found for this signature in database
GPG Key ID: F357B3B42F6F9B05

View File

@ -851,10 +851,10 @@ func (self *NNTPDaemon) poll(worker int) {
if hdr == nil {
log.Println("worker", worker, "failed to load", msgid)
} else {
log.Println("worker", worker, "got", msgid)
rollover := 100
group := hdr.Get("Newsgroups", "")
ref := hdr.Get("References", "")
log.Println("worker", worker, "got", msgid, "in", group, "references", ref != "")
tpp, err := self.database.GetThreadsPerPage(group)
ppb, err := self.database.GetPagesPerBoard(group)
if err == nil {