diff --git a/common/topic_list.go b/common/topic_list.go index 4d84ecce..64ad68bc 100644 --- a/common/topic_list.go +++ b/common/topic_list.go @@ -179,7 +179,9 @@ func (tList *DefaultTopicList) Tick() error { addScore(f) } for _, f := range top5 { - fshort = append(fshort, f) + if f != nil { + fshort = append(fshort, f) + } } fList := make(map[int]*ForumTopicListHolder)