about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c
index c2ebab7..701486b 100644
--- a/command.c
+++ b/command.c
@@ -392,7 +392,7 @@ const char *commandIsAction(uint id, const char *input) {
 }
 
 void command(uint id, char *input) {
-	if (id == Debug && input[0] != '/') {
+	if (id == Debug && input[0] != '/' && !self.restricted) {
 		commandQuote(id, input);
 		return;
 	} else if (commandIsPrivmsg(id, input)) {