summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-servers-setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/core/irc-servers-setup.h')
-rw-r--r--src/irc/core/irc-servers-setup.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/irc/core/irc-servers-setup.h b/src/irc/core/irc-servers-setup.h
index 818611fe..65739f79 100644
--- a/src/irc/core/irc-servers-setup.h
+++ b/src/irc/core/irc-servers-setup.h
@@ -1,10 +1,12 @@
#ifndef __IRC_SERVERS_SETUP_H
#define __IRC_SERVERS_SETUP_H
+#include "chat-protocols.h"
+#include "servers-setup.h"
#define IRC_SERVER_SETUP(server) \
- MODULE_CHECK_CAST(server, IRC_SERVER_SETUP_REC, \
- chat_type, "IRC SERVER SETUP")
+ PROTO_CHECK_CAST(SERVER_SETUP(server), IRC_SERVER_SETUP_REC, \
+ chat_type, "IRC")
#define IS_IRC_SERVER_SETUP(server) \
(IRC_SERVER_SETUP(server) ? TRUE : FALSE)