From d20596083a12a8ab797614121be51d2a914abe58 Mon Sep 17 00:00:00 2001 From: Haru Date: Mon, 5 Aug 2013 15:32:35 +0200 Subject: Added support for target-less commands in the IRC bridge Needed for future updates (such as receiving "QUIT" commands Signed-off-by: Haru --- src/map/irc-bot.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/irc-bot.h') diff --git a/src/map/irc-bot.h b/src/map/irc-bot.h index 1fd4b58ab..0fd84bd5f 100644 --- a/src/map/irc-bot.h +++ b/src/map/irc-bot.h @@ -47,7 +47,7 @@ struct irc_bot_interface { int (*join_timer) (int tid, unsigned int tick, int id, intptr_t data); /* */ void (*send)(char *str); - void (*relay) (char *name, char *msg); + void (*relay) (char *name, const char *msg); /* */ void (*pong) (int fd, char *cmd, char *source, char *target, char *msg); void (*join) (int fd, char *cmd, char *source, char *target, char *msg); -- cgit v1.2.3-60-g2f50