summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
Diffstat (limited to 'src/core')
-rw-r--r--src/core/chat-commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/chat-commands.c b/src/core/chat-commands.c
index 285f2847..12768f9b 100644
--- a/src/core/chat-commands.c
+++ b/src/core/chat-commands.c
@@ -370,7 +370,7 @@ static void cmd_foreach_query(const char *data)
{
GSList *list;
- list = g_slist_copy(channels);
+ list = g_slist_copy(queries);
while (list != NULL) {
QUERY_REC *rec = list->data;