summaryrefslogtreecommitdiff
path: root/src/map/irc-bot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/irc-bot.h')
-rw-r--r--src/map/irc-bot.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/irc-bot.h b/src/map/irc-bot.h
index 23c2fabc8..8dcfea5bd 100644
--- a/src/map/irc-bot.h
+++ b/src/map/irc-bot.h
@@ -14,7 +14,7 @@
#define IRC_FUNC_LENGTH 30
#define IRC_MESSAGE_LENGTH 500
-struct hChSysCh;
+struct channel_data;
struct irc_func {
char name[IRC_FUNC_LENGTH];
@@ -29,7 +29,7 @@ struct irc_bot_interface {
uint32 ip;
unsigned short port;
/* */
- struct hChSysCh *channel;
+ struct channel_data *channel;
/* */
struct {
struct irc_func **list;
@@ -50,7 +50,7 @@ struct irc_bot_interface {
int (*join_timer) (int tid, int64 tick, int id, intptr_t data);
/* */
void (*send)(char *str);
- void (*relay) (char *name, const char *msg);
+ void (*relay) (const char *name, const char *msg);
/* */
void (*pong) (int fd, char *cmd, char *source, char *target, char *msg);
void (*privmsg) (int fd, char *cmd, char *source, char *target, char *msg);