1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

server_find_tag() shouldn't return servers in lookup_servers list,

especially now that they're not fully initialized in their lookup-state
yet..


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2830 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-05-30 18:06:08 +00:00 committed by cras
parent 6871f558b5
commit b152578725

View File

@ -478,13 +478,6 @@ SERVER_REC *server_find_tag(const char *tag)
return server; return server;
} }
for (tmp = lookup_servers; tmp != NULL; tmp = tmp->next) {
SERVER_REC *server = tmp->data;
if (g_strcasecmp(server->tag, tag) == 0)
return server;
}
return NULL; return NULL;
} }