diff options
Diffstat (limited to 'src/irc/core/irc-core.c')
-rw-r--r-- | src/irc/core/irc-core.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/irc/core/irc-core.c b/src/irc/core/irc-core.c index afdc00c2..a6ff310a 100644 --- a/src/irc/core/irc-core.c +++ b/src/irc/core/irc-core.c @@ -19,6 +19,7 @@ */ #include "module.h" +#include "chat-protocols.h" #include "irc-servers.h" #include "irc-channels.h" @@ -49,6 +50,8 @@ void irc_channels_setup_deinit(void); void irc_core_init(void) { + chat_protocol_register("IRC", "Internet Relay Chat", "ircnet"); + irc_servers_init(); irc_channels_init(); irc_queries_init(); @@ -81,4 +84,6 @@ void irc_core_deinit(void) irc_channels_deinit(); irc_irc_deinit(); irc_servers_deinit(); + + chat_protocol_unregister("IRC"); } |