diff options
author | Timo Sirainen <cras@irssi.org> | 2000-09-01 00:26:46 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-09-01 00:26:46 +0000 |
commit | 28a7908e7372fe0e81dd439b6559bc2abe3ea6e8 (patch) | |
tree | f911b89cd7d5a5f5e9fb206c380cd5ddebe1b987 /src/irc/core/irc-servers-setup.h | |
parent | 03091413eeb0935adfad1bee7b02a0161f403835 (diff) | |
download | irssi-28a7908e7372fe0e81dd439b6559bc2abe3ea6e8.zip |
Added chat protocol register. Changed all chat_type fields to use it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@640 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/irc-servers-setup.h')
-rw-r--r-- | src/irc/core/irc-servers-setup.h | 6 |
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) |