minor fixes

This commit is contained in:
anon 2023-12-17 20:44:35 +01:00
parent 2ee5fc5743
commit 3b82b2a81a
3 changed files with 4 additions and 4 deletions

View File

@ -21,10 +21,10 @@ HEADER := config.inc version.inc log.h bot.h syntax.h
HEADER := $(addprefix ${SOURCE.d}, ${HEADER})
${OUT}: ${SOURCE} ${HEADER}
${CC} ${CFLAGS} -o $@ ${SOURCE} ${LDLIBS}
./${CC} ${CFLAGS} -o $@ ${SOURCE} ${LDLIBS}
run: ${OUT}
${OUT} irc.rizon.net:6665 "#/g/test"
./${OUT} irc.rizon.net:6665 "#/g/test"
test: ${OUT}
${WRAP} ${OUT} irc.rizon.net:6665 "#/g/test"

View File

@ -1,6 +1,6 @@
#ifndef CONFIG_INC
const char * const username = "hibot2"; //PROGRAM_NAME;
const char * const username = PROGRAM_NAME;
const char * const password = "";
const int message_timeout = 3;
const char * const message_queue_full_message = "Air space too crowded in this area.";

View File

@ -27,7 +27,7 @@ syntax_setter_t syntax_functions[] = {
const char help_message[] =
PROGRAM_NAME " <server>:<port> <channel>\n"
PROGRAM_NAME " <server>:<port> <channel>"
;
signed main(int argc, char * * argv) {