about summary refs log tree commit diff
path: root/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'command.c')
-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)) {
/span>Handle KICK and NICKJune McEnroe 2018-08-03Continue on EINTR from pollJune McEnroe 2018-08-03Handle ACTIONsJune McEnroe 2018-08-03Use more octal char literalsJune McEnroe 2018-08-03Send a WHO in response to NAMES to get usernamesJune McEnroe 2018-08-03Colorize nicks and channelsJune McEnroe 2018-08-03Add support for mIRC colorsJune McEnroe 2018-08-03Handle bold, italic, underlineJune McEnroe 2018-08-03Add prift function for "prefix shift"June McEnroe 2018-08-03Link with -lcurseswJune McEnroe 2018-08-02Use libtls "compat" ciphersJune McEnroe 2018-08-02Add UI and handle some kinds of server messagesJune McEnroe 2018-08-02Add chroot.tar targetJune McEnroe