summaryrefslogtreecommitdiff
path: root/src/core/queries.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-09-01 00:26:46 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-09-01 00:26:46 +0000
commit28a7908e7372fe0e81dd439b6559bc2abe3ea6e8 (patch)
treef911b89cd7d5a5f5e9fb206c380cd5ddebe1b987 /src/core/queries.c
parent03091413eeb0935adfad1bee7b02a0161f403835 (diff)
downloadirssi-28a7908e7372fe0e81dd439b6559bc2abe3ea6e8.zip
Added chat protocol register. Changed all chat_type fields to use it.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@640 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/core/queries.c')
-rw-r--r--src/core/queries.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/queries.c b/src/core/queries.c
index 17a371f9..f3e59184 100644
--- a/src/core/queries.c
+++ b/src/core/queries.c
@@ -84,7 +84,7 @@ static QUERY_REC *query_find_server(SERVER_REC *server, const char *nick)
for (tmp = server->queries; tmp != NULL; tmp = tmp->next) {
QUERY_REC *rec = tmp->data;
- if (rec->chat_type == server->query_type &&
+ if (rec->chat_type == server->chat_type &&
g_strcasecmp(nick, rec->name) == 0)
return rec;
}