From 95bb627ffbb5fcbf9462b5957d0cb25072d8c64e Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Sat, 23 Jan 2021 00:03:58 -0500 Subject: 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. --- chat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'chat.h') 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; -- cgit 1.4.1-2-gfad0