From b16f473e9bc6025aff0956a06662eba8cd7186e2 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Tue, 19 Dec 2000 10:40:41 +0000 Subject: don't autochange nicks from dcc connections. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1011 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/irc/fe-irc-queries.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3