aboutsummaryrefslogtreecommitdiff
path: root/hotline/news.go
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2022-06-28 21:51:15 -0700
committerGitHub <noreply@github.com>2022-06-28 21:51:15 -0700
commitc681cfa3c4782b74c49a16bf08f2694cb9acba59 (patch)
tree9577c95ec8bb061f76fb890fbcc2b39b0b2a07cf /hotline/news.go
parent0db54aa79140c6656f99a851f582c84a0de04233 (diff)
parent8eb43f95a6f11b6c256ff339399e9479898b4380 (diff)
Merge pull request #50 from jhalter/implement_delNewsItem_access_controls
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{}