Загрузить файлы в «/»
This commit is contained in:
parent
32b577d342
commit
79a504e10b
3
Makefile
3
Makefile
@ -1,6 +1,7 @@
|
|||||||
CFLAGS?= -s -Os -flto -pedantic
|
CFLAGS?= -s -Os -flto -pedantic
|
||||||
|
CC?=cc
|
||||||
all:
|
all:
|
||||||
cc *.c $(CFLAGS) -obot
|
$(CC) *.c $(CFLAGS) -obot
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm irc.* bot
|
rm irc.* bot
|
||||||
|
6
cfg.h
6
cfg.h
@ -4,7 +4,11 @@
|
|||||||
#define PORT 6667
|
#define PORT 6667
|
||||||
#define DIR "./"
|
#define DIR "./"
|
||||||
|
|
||||||
char *channels[] = {"#channel"};
|
char *channels[] = {"#channel", NULL};
|
||||||
|
|
||||||
|
//Put \r\n after string end
|
||||||
|
//Exp: {..., "PRIVMSG NickServ IDENTIFY mypassword\r\n", ..., NULL};
|
||||||
|
char *send_after_join[] = {NULL};
|
||||||
|
|
||||||
//Output
|
//Output
|
||||||
#define FORMAT_TXT "<%s> %s\n"
|
#define FORMAT_TXT "<%s> %s\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user