]> git.r.bdr.sh - rbdr/mobius/commitdiff
Prune unused code
authorJeff Halter <redacted>
Sat, 7 Aug 2021 22:52:08 +0000 (15:52 -0700)
committerJeff Halter <redacted>
Sat, 7 Aug 2021 22:52:08 +0000 (15:52 -0700)
hotline/access.go
hotline/client.go
hotline/config.go
hotline/field.go

index 707dc6561eafa9285eb5d7ee61def7b690ec1d54..27be15796cd7defe2ea724f91a4c132214c23cc3 100644 (file)
@@ -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 {
index 84126d3d4dd2b0d768b9bc6841b5adfd2c1e2f94..6aad5a188f6d66b4f547321815c89dcd9f6e1136 100644 (file)
@@ -90,7 +90,6 @@ type Client struct {
 
        UI *UI
 
-       outbox chan *Transaction
        Inbox  chan *Transaction
 }
 
index e0c20cf8f96055919c3163feaeacbbf91d5eabad..d2a8ac6b422a829a20dd1478dff61b4393eb3d17 100644 (file)
@@ -1,11 +1,5 @@
 package hotline
 
-const (
-       defaultAgreement    = "This is an agreement.  Say you agree.\r"
-       defaultMessageBoard = "Welcome to Hotline\r"
-       defaultThreadedNews = "Categories:\n"
-)
-
 type Config struct {
        Name                      string   `yaml:"Name"`                      // Name used for Tracker registration
        Description               string   `yaml:"Description"`               // Description used for Tracker registration
index b057be3134e8a8ec0208a471d10317b9987ba716..7955fe3ef3d05135bc1767849937c0d5643a32fd 100644 (file)
@@ -16,7 +16,7 @@ const fieldRefNum = 107
 const fieldTransferSize = 108
 const fieldChatOptions = 109
 const fieldUserAccess = 110
-const fieldUserAlias = 111
+//const fieldUserAlias = 111 TODO: implement
 const fieldUserFlags = 112
 const fieldOptions = 113
 const fieldChatID = 114