summaryrefslogtreecommitdiff
path: root/src/fe-common/irc/fe-irc-queries.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-common/irc/fe-irc-queries.c')
-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;
}