diff options
author | Timo Sirainen <cras@irssi.org> | 2000-08-20 07:17:13 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-08-20 07:17:13 +0000 |
commit | 67cc9af1bd825268e0bf12dca262bdbf64e56d29 (patch) | |
tree | f1baf82253e80d7c95e799f0f528c10b321d5a8c /src/core | |
parent | 7cbd164e759449450f38fac0d087960c3b5355b8 (diff) | |
download | irssi-67cc9af1bd825268e0bf12dca262bdbf64e56d29.zip |
Channel mode handling changed - there's no more mode_xxx fields in
channel structure, but instead just one mode string field. Also
handling half-ops (+h) should work right.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@617 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/server.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/server.c b/src/core/server.c index c4d22d6c..029433c5 100644 --- a/src/core/server.c +++ b/src/core/server.c @@ -204,7 +204,8 @@ int server_connect(SERVER_REC *server) server->connect_pipe[1]); server->connect_tag = g_input_add(server->connect_pipe[0], G_INPUT_READ, - (GInputFunction) server_connect_callback_readpipe, server); + (GInputFunction) server_connect_callback_readpipe, + server); lookup_servers = g_slist_append(lookup_servers, server); @@ -278,7 +279,8 @@ SERVER_REC *server_find_ircnet(const char *ircnet) SERVER_REC *server = tmp->data; if (server->connrec->ircnet != NULL && - g_strcasecmp(server->connrec->ircnet, ircnet) == 0) return server; + g_strcasecmp(server->connrec->ircnet, ircnet) == 0) + return server; } return NULL; |