summary refs log tree commit diff
path: root/chat.h
diff options
context:
space:
mode:
authorC. McEnroe2021-01-23 00:03:58 -0500
committerC. McEnroe2021-01-23 00:48:15 -0500
commit95bb627ffbb5fcbf9462b5957d0cb25072d8c64e (patch)
treed1da30e906765df8f4f61ef886936270e80f1539 /chat.h
parent6ee0aea9e55cd72102a7abee26481179311273f2 (diff)
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.h1
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;