logical merge
This commit is contained in:
parent
8e9da42790
commit
3a108d435e
@ -45,8 +45,9 @@ void event_privmsg(irc_session_t * session,
|
||||
ircmsg(buffer);
|
||||
free(buffer);
|
||||
|
||||
char const * message = params[1];
|
||||
ircmsg(message);
|
||||
char * message = strdup(params[1]);
|
||||
ircmsg(syntax_highlight(message));
|
||||
free(message);
|
||||
}
|
||||
|
||||
int connect_bot(const char * const server, const short port) {
|
||||
|
@ -11,7 +11,7 @@ char * port;
|
||||
FILE * log_file;
|
||||
|
||||
#include "log.h"
|
||||
//#include "syntax.h"
|
||||
#include "syntax.h"
|
||||
#include "bot.h"
|
||||
|
||||
const char help_message[] =
|
||||
@ -39,6 +39,8 @@ signed main(int argc, char * * argv) {
|
||||
|
||||
log_file = stdout;
|
||||
|
||||
syntax_c();
|
||||
|
||||
connect_bot(server, port_i);
|
||||
connection_loop();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user