summaryrefslogtreecommitdiff
path: root/src/irc/core/irc-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/irc/core/irc-core.c')
-rw-r--r--src/irc/core/irc-core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/core/irc-core.c b/src/irc/core/irc-core.c
index 9d441f09..5386f372 100644
--- a/src/irc/core/irc-core.c
+++ b/src/irc/core/irc-core.c
@@ -91,8 +91,8 @@ void irc_core_init(void)
rec->create_server_connect = create_server_connect;
rec->destroy_server_connect = destroy_server_connect;
- rec->server_connect = (SERVER_REC *(*) (SERVER_CONNECT_REC *))
- irc_server_connect;
+ rec->server_init_connect = irc_server_init_connect;
+ rec->server_connect = irc_server_connect;
rec->channel_create =
(CHANNEL_REC *(*) (SERVER_REC *, const char *,
const char *, int))