summaryrefslogtreecommitdiff
path: root/src/core/channels.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/channels.c')
-rw-r--r--src/core/channels.c3
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;
}