aboutsummaryrefslogtreecommitdiff
path: root/hotline/news.go
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2022-06-28 21:49:48 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2022-06-28 21:49:48 -0700
commit8eb43f95a6f11b6c256ff339399e9479898b4380 (patch)
tree9577c95ec8bb061f76fb890fbcc2b39b0b2a07cf /hotline/news.go
parent0db54aa79140c6656f99a851f582c84a0de04233 (diff)
Implement access controls for threaded news item deletion
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{}