commit which fixes invalid line shit
This commit is contained in:
parent
37e6129261
commit
df021531cb
@ -863,7 +863,7 @@ 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 {
|
if ValidNewsgroup(group) {
|
||||||
_, _ = io.WriteString(dw, fmt.Sprintf("%s 0 0 y\n", group))
|
_, _ = io.WriteString(dw, fmt.Sprintf("%s 0 0 y\n", group))
|
||||||
}
|
}
|
||||||
//} else {
|
//} else {
|
||||||
|
Reference in New Issue
Block a user