aboutsummaryrefslogtreecommitdiff
path: root/hotline/news.go
diff options
context:
space:
mode:
Diffstat (limited to 'hotline/news.go')
-rw-r--r--hotline/news.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/hotline/news.go b/hotline/news.go
index 77c6696..e25a2c8 100644
--- a/hotline/news.go
+++ b/hotline/news.go
@@ -202,6 +202,7 @@ func (newscat *NewsCategoryListData15) nameLen() []byte {
return []byte{uint8(len(newscat.Name))}
}
+// TODO: re-implement as bufio.Scanner interface
func ReadNewsPath(newsPath []byte) []string {
if len(newsPath) == 0 {
return []string{}