summaryrefslogtreecommitdiff
path: root/src/map/irc-bot.h
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-08-05 15:32:35 +0200
committerHaru <haru@dotalux.com>2013-08-12 17:14:51 +0200
commitd20596083a12a8ab797614121be51d2a914abe58 (patch)
tree85381bfec7e42eda0af7219f0b6b041c107921d2 /src/map/irc-bot.h
parent3fb307be68de6026df138b2d48f2f6b94dbec64f (diff)
downloadhercules-d20596083a12a8ab797614121be51d2a914abe58.tar.gz
hercules-d20596083a12a8ab797614121be51d2a914abe58.tar.bz2
hercules-d20596083a12a8ab797614121be51d2a914abe58.tar.xz
hercules-d20596083a12a8ab797614121be51d2a914abe58.zip
Added support for target-less commands in the IRC bridge
Needed for future updates (such as receiving "QUIT" commands Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/map/irc-bot.h')
-rw-r--r--src/map/irc-bot.h2
1 files changed, 1 insertions, 1 deletions
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);