aboutsummaryrefslogtreecommitdiff
path: root/hotline/access.go
diff options
context:
space:
mode:
authorJeff Halter <868228+jhalter@users.noreply.github.com>2021-08-07 15:52:08 -0700
committerJeff Halter <868228+jhalter@users.noreply.github.com>2021-08-07 15:52:08 -0700
commiteabc4b6cacc4749db226af272e71fcff1556f433 (patch)
treef4df3f243a3132bcfc8ed8fa967987ebd6f4f365 /hotline/access.go
parent9004987d8ec11b788f972e6764f875f2d873cfd6 (diff)
Prune unused code
Diffstat (limited to 'hotline/access.go')
-rw-r--r--hotline/access.go20
1 files changed, 10 insertions, 10 deletions
diff --git a/hotline/access.go b/hotline/access.go
index 707dc65..27be157 100644
--- a/hotline/access.go
+++ b/hotline/access.go
@@ -28,25 +28,25 @@ const (
accessOpenUser = 16
accessModifyUser = 17
// accessChangeOwnPass = 18 // Documented but unused?
- accessSendPrivMsg = 19 // This doesn't do what it seems like it should do. TODO: Investigate
+ //accessSendPrivMsg = 19 // This doesn't do what it seems like it should do. TODO: Investigate
accessNewsReadArt = 20
accessNewsPostArt = 21
accessDisconUser = 22 // Toggles red user name in user list
accessCannotBeDiscon = 23
accessGetClientInfo = 24
- accessUploadAnywhere = 25
- accessAnyName = 26
- accessNoAgreement = 27
- accessSetFileComment = 28
- accessSetFolderComment = 29
- accessViewDropBoxes = 30
- accessMakeAlias = 31
+ //accessUploadAnywhere = 25
+ //accessAnyName = 26
+ //accessNoAgreement = 27
+ //accessSetFileComment = 28
+ //accessSetFolderComment = 29
+ //accessViewDropBoxes = 30
+ //accessMakeAlias = 31
accessBroadcast = 32
accessNewsDeleteArt = 33
accessNewsCreateCat = 34
- accessNewsDeleteCat = 35
+ //accessNewsDeleteCat = 35
accessNewsCreateFldr = 36
- accessNewsDeleteFldr = 37
+ //accessNewsDeleteFldr = 37
)
func authorize(access *[]byte, accessBit int) bool {