Send input as raw IRC in <debug>
parent
42210e079b
commit
1cf6e29fc4
|
@ -20,6 +20,10 @@
|
||||||
#include "chat.h"
|
#include "chat.h"
|
||||||
|
|
||||||
void command(size_t id, char *input) {
|
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);
|
ircFormat("PRIVMSG %s :%s\r\n", idNames[id], input);
|
||||||
struct Message msg = {
|
struct Message msg = {
|
||||||
.nick = self.nick,
|
.nick = self.nick,
|
||||||
|
|
Loading…
Reference in New Issue