commit which fixes invalid line shit
This commit is contained in:
parent
0266deee2b
commit
37e6129261
@ -863,7 +863,9 @@ func (self *nntpConnection) handleLine(daemon *NNTPDaemon, code int, line string
|
|||||||
// XXX: heavy as shit
|
// XXX: heavy as shit
|
||||||
//lo, hi, err := daemon.database.GetLastAndFirstForGroup(group)
|
//lo, hi, err := daemon.database.GetLastAndFirstForGroup(group)
|
||||||
//if err == nil {
|
//if err == nil {
|
||||||
|
if len(group) > 0 {
|
||||||
_, _ = io.WriteString(dw, fmt.Sprintf("%s 0 0 y\n", group))
|
_, _ = io.WriteString(dw, fmt.Sprintf("%s 0 0 y\n", group))
|
||||||
|
}
|
||||||
//} else {
|
//} else {
|
||||||
// log.Println(self.name, "could not get low/high water mark for", group, err)
|
// log.Println(self.name, "could not get low/high water mark for", group, err)
|
||||||
//}
|
//}
|
||||||
|
Reference in New Issue
Block a user