summaryrefslogtreecommitdiff
path: root/src/core/servers.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-09-14 22:55:25 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-09-14 22:55:25 +0000
commit930dd40815f09378369d02d5a77e0597eb5f7620 (patch)
tree1c0cdb163f1649be834f89182c81b5e2bc8fce07 /src/core/servers.c
parent05577dce01d415dcafb4dfa9641a7cae276d90ae (diff)
downloadirssi-930dd40815f09378369d02d5a77e0597eb5f7620.zip
no, didn't work, again :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2920 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/servers.c')
-rw-r--r--src/core/servers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/servers.c b/src/core/servers.c
index ef43e4f6..92a6e5ac 100644
--- a/src/core/servers.c
+++ b/src/core/servers.c
@@ -126,7 +126,7 @@ static char *server_create_tag(SERVER_CONNECT_REC *conn)
str = g_string_new(tag);
num = 2;
- while (server_find_tag(str->str) != NULL &&
+ while (server_find_tag(str->str) != NULL ||
server_find_lookup_tag(str->str) != NULL) {
g_string_sprintf(str, "%s%d", tag, num);
num++;