summaryrefslogtreecommitdiff
path: root/src/core/servers.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-02-17 19:44:22 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-02-17 19:44:22 +0000
commitbe6ba53fa47bc546279a2575523281845fe80da9 (patch)
tree2f08f6281cfbd38a1df2abe4fe69ccfd6f208f51 /src/core/servers.c
parent513e140bcebce617d6078a9532ab9976437c3ef6 (diff)
downloadirssi-be6ba53fa47bc546279a2575523281845fe80da9.zip
Config file: ircnets -> chatnets, added type = "chat protocol" to
chatnet config. Moved reading chatnets to core. Lots of other multiprotocol updates. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1237 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/servers.c')
-rw-r--r--src/core/servers.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/core/servers.c b/src/core/servers.c
index 0972174d..a4e0966d 100644
--- a/src/core/servers.c
+++ b/src/core/servers.c
@@ -281,13 +281,9 @@ int server_start_connect(SERVER_REC *server)
/* Connect to server */
SERVER_REC *server_connect(SERVER_CONNECT_REC *conn)
{
- SERVER_REC *server;
-
g_return_val_if_fail(IS_SERVER_CONNECT(conn), NULL);
- server = NULL;
- signal_emit("server connect", 2, &server, conn);
- return server;
+ return CHAT_PROTOCOL(conn)->server_connect(conn);
}
static int server_remove_channels(SERVER_REC *server)