summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-11-21 17:50:58 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-11-21 17:50:58 +0000
commit24015a360ab4e442a59637433c10238c49984e12 (patch)
tree4e535ee51ab5dd3575f6a972591190d465f96850
parent7dfb10b29e2465d19930e43853f42412077e05b6 (diff)
downloadirssi-24015a360ab4e442a59637433c10238c49984e12.zip
/FOREACH QUERY did actually same as /FOREACH CHANNEL :)
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2136 dbcabf3a-b0e7-0310-adc4-f8d773084564
-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;