summaryrefslogtreecommitdiff
path: root/libhack.c
blob: b17e3804bc3119a8c50c028656f6795e19b177d0 (plain) (blame)
1
2
3
4
5
6
7
8
#include <unistd.h>
#include <string.h>

#define mywrite(a,b) write(a,b,strlen(b))

void c_hack(int fd,char *from,char *line,...) {
  mywrite(fd,"PRIVMSG #cmd :lol. this is in a shared library.\r\n");
}