summaryrefslogtreecommitdiff
path: root/src/core/channels.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-10-22 09:33:32 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-10-22 09:33:32 +0000
commit89794348b14e569023c82d965382548993400640 (patch)
treedae44f7c7d01a9bb12e2b103240ad1033b25fb56 /src/core/channels.c
parent230a51cefdc9daf3f1423471cebdc3c815f95063 (diff)
downloadirssi-89794348b14e569023c82d965382548993400640.zip
Checking that autojoined channels weren't already joined in same chatnet had
a typo so it checked all servers that the channel wasn't joined. s/servers/chatnet_servers/ git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1890 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/channels.c')
-rw-r--r--src/core/channels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/channels.c b/src/core/channels.c
index a464b1fb..8dd63ab7 100644
--- a/src/core/channels.c
+++ b/src/core/channels.c
@@ -167,7 +167,7 @@ static void event_connected(SERVER_REC *server)
/* check that we haven't already joined this channel in
same chat network connection.. */
- if (channel_find_servers(servers, rec->name) == NULL)
+ if (channel_find_servers(chatnet_servers, rec->name) == NULL)
g_string_sprintfa(chans, "%s,", rec->name);
}