Send input as raw IRC in <debug>

weechat-hashes
C. McEnroe 2020-02-05 03:42:04 -05:00
parent 42210e079b
commit 1cf6e29fc4
1 changed files with 4 additions and 0 deletions

View File

@ -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,