summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-channels.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/core/irc-channels.h')
-rw-r--r--src/irc/core/irc-channels.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/irc/core/irc-channels.h b/src/irc/core/irc-channels.h
index 41826cb1..a00b0a49 100644
--- a/src/irc/core/irc-channels.h
+++ b/src/irc/core/irc-channels.h
@@ -3,7 +3,6 @@
#include "chat-protocols.h"
#include "channels.h"
-#include "irc-servers.h"
/* Returns IRC_CHANNEL_REC if it's IRC channel, NULL if it isn't. */
#define IRC_CHANNEL(channel) \
@@ -13,7 +12,7 @@
(IRC_CHANNEL(channel) ? TRUE : FALSE)
#define STRUCT_SERVER_REC IRC_SERVER_REC
-typedef struct {
+struct _IRC_CHANNEL_REC {
#include "channel-rec.h"
GSList *banlist; /* list of bans */
@@ -23,7 +22,7 @@ typedef struct {
time_t massjoin_start; /* Massjoin start time */
int massjoins; /* Number of nicks waiting for massjoin signal.. */
int last_massjoins; /* Massjoins when last checked in timeout function */
-} IRC_CHANNEL_REC;
+};
void irc_channels_init(void);
void irc_channels_deinit(void);