]> git.r.bdr.sh - rbdr/mobius/blobdiff - hotline/news.go
Implement access controls for threaded news item deletion
[rbdr/mobius] / hotline / news.go
index 77c66966f9ddf0dde81e15331b0cec87fdae2bb1..e25a2c8e1d3827040328437f5320566ec35ab438 100644 (file)
@@ -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{}