diff options
author | Timo Sirainen <cras@irssi.org> | 2002-05-30 18:06:08 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-05-30 18:06:08 +0000 |
commit | b152578725e297aeeda1124529b32d08a9444891 (patch) | |
tree | 9e0c47631295e5855e74d7f3cfff548107cd6233 /src/core | |
parent | 6871f558b567251d9789d1216f05f1c048682479 (diff) | |
download | irssi-b152578725e297aeeda1124529b32d08a9444891.zip |
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
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/servers.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/servers.c b/src/core/servers.c index 4f5b0402..12595fa3 100644 --- a/src/core/servers.c +++ b/src/core/servers.c @@ -478,13 +478,6 @@ SERVER_REC *server_find_tag(const char *tag) 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; } |