summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-12-19 10:40:41 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-12-19 10:40:41 +0000
commitb16f473e9bc6025aff0956a06662eba8cd7186e2 (patch)
treea3238c83b55e5799b129cd54c2c29e507ee20970
parentd130d806969df4a5b04cfa5280842ebf7e23e4ef (diff)
downloadirssi-b16f473e9bc6025aff0956a06662eba8cd7186e2.zip
don't autochange nicks from dcc connections.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1011 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/fe-common/irc/fe-irc-queries.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-common/irc/fe-irc-queries.c b/src/fe-common/irc/fe-irc-queries.c
index 619cd0f4..50236cf2 100644
--- a/src/fe-common/irc/fe-irc-queries.c
+++ b/src/fe-common/irc/fe-irc-queries.c
@@ -34,7 +34,7 @@ static QUERY_REC *query_find_address(SERVER_REC *server, const char *address)
for (tmp = server->queries; tmp != NULL; tmp = tmp->next) {
QUERY_REC *rec = tmp->data;
- if (g_strcasecmp(address, rec->address) == 0)
+ if (*rec->name != '=' && g_strcasecmp(address, rec->address) == 0)
return rec;
}