diff options
author | June McEnroe <june@causal.agency> | 2021-01-23 00:03:58 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-01-23 00:48:15 -0500 |
commit | 95bb627ffbb5fcbf9462b5957d0cb25072d8c64e (patch) | |
tree | d1da30e906765df8f4f61ef886936270e80f1539 /chat.h | |
parent | Simplify windowUpdate loops and factor out windowTop (diff) | |
download | catgirl-95bb627ffbb5fcbf9462b5957d0cb25072d8c64e.tar.gz catgirl-95bb627ffbb5fcbf9462b5957d0cb25072d8c64e.zip |
Separate kiosk mode from restrict mode
Restrict mode will focus on sandboxing, while kiosk will continue to restrict IRC access through a public kiosk. Kiosk mode without restrict mode allows execution of man 1 catgirl with /help, assuming external sandboxing. The /list and /part commands are also added to the list of disabled commands in kiosk mode, since they are pointless without access to /join.
Diffstat (limited to 'chat.h')
-rw-r--r-- | chat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chat.h b/chat.h index 1b1c338..4c9b32b 100644 --- a/chat.h +++ b/chat.h @@ -183,6 +183,7 @@ enum Cap { extern struct Self { bool debug; + bool kiosk; bool restricted; size_t pos; enum Cap caps; |