mirror of
https://github.com/irssi/irssi.git
synced 2024-10-27 05:20:20 -04: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:
parent
6871f558b5
commit
b152578725
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user