removed useless chat_type checks

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@998 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-12-17 01:37:12 +00:00 committed by cras
commit 3011d2c01c
2 changed files with 2 additions and 4 deletions

View file

@ -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;
}