diff options
author | C. McEnroe | 2020-02-05 03:42:04 -0500 |
---|---|---|
committer | C. McEnroe | 2020-02-05 03:42:04 -0500 |
commit | 1cf6e29fc465dc9e3633950ede758d4fd1eb644d (patch) | |
tree | 321a530e074dacd4c3469df74d20ec3409c6c55e | |
parent | 42210e079bcdea26261af577d0802fdc4c3d03b6 (diff) |
Send input as raw IRC in <debug>
-rw-r--r-- | command.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/command.c b/command.c index 76d7d7b..ef27888 100644 --- a/command.c +++ b/command.c @@ -20,6 +20,10 @@ #include "chat.h" void command(size_t id, char *input) { + if (id == Debug) { + ircFormat("%s\r\n", input); + return; + } ircFormat("PRIVMSG %s :%s\r\n", idNames[id], input); struct Message msg = { .nick = self.nick, |