about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--catgirl.17
-rw-r--r--ui.c1
2 files changed, 6 insertions, 2 deletions
diff --git a/catgirl.1 b/catgirl.1
index f14ba3a..12b2560 100644
--- a/catgirl.1
+++ b/catgirl.1
@@ -1,4 +1,4 @@
-.Dd January 22, 2021
+.Dd January 25, 2021
 .Dt CATGIRL 1
 .Os
 .
@@ -163,7 +163,10 @@ Disable the
 and
 .Ic /open
 commands,
-as well as viewing this manual with
+the
+.Fl N
+option,
+and viewing this manual with
 .Ic /help .
 .
 .It Fl S Ar host , Cm bind = Ar host
diff --git a/ui.c b/ui.c
index 1a16ca0..a0bee13 100644
--- a/ui.c
+++ b/ui.c
@@ -533,6 +533,7 @@ windowScrollSearch(struct Window *window, const char *str, int dir) {
 
 struct Util uiNotifyUtil;
 static void notify(uint id, const char *str) {
+	if (self.restricted) return;
 	if (!uiNotifyUtil.argc) return;
 
 	char buf[1024] = "";