diff options
author | Timo Sirainen <cras@irssi.org> | 2000-12-17 01:37:12 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-12-17 01:37:12 +0000 |
commit | 3011d2c01c9df4dc0da2efb2cd33b2956c09fa8d (patch) | |
tree | 1a9da341bf822781591190de0d0081811f6d71de /src/core/channels.c | |
parent | 2523a02104fbc885138d1e63016bace31734b124 (diff) | |
download | irssi-3011d2c01c9df4dc0da2efb2cd33b2956c09fa8d.zip |
removed useless chat_type checks
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@998 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/channels.c')
-rw-r--r-- | src/core/channels.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/channels.c b/src/core/channels.c index 3214a389..d1c6f66f 100644 --- a/src/core/channels.c +++ b/src/core/channels.c @@ -100,8 +100,7 @@ static CHANNEL_REC *channel_find_server(SERVER_REC *server, for (tmp = server->channels; tmp != NULL; tmp = tmp->next) { CHANNEL_REC *rec = tmp->data; - if (rec->chat_type == server->chat_type && - g_strcasecmp(name, rec->name) == 0) + if (g_strcasecmp(name, rec->name) == 0) return rec; } |