diff src/protocols/irc/msgs.c @ 11869:3ba50c385299

[gaim-migrate @ 14160] This should make joining big channels a bit quicker/more efficient. It was really bad before, now it's just bad. My crude testing showed it shaved a few hundred thousand library calls of joining #gaim, so it can't be too bad. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Fri, 28 Oct 2005 01:46:12 +0000
parents bb98b2c09224
children 8bcccf2988fa
line wrap: on
line diff
--- a/src/protocols/irc/msgs.c	Thu Oct 27 21:48:05 2005 +0000
+++ b/src/protocols/irc/msgs.c	Fri Oct 28 01:46:12 2005 +0000
@@ -388,8 +388,8 @@
 					cur++;
 				}
 				tmp = g_strndup(cur, end - cur);
-				users = g_list_append(users, tmp);
-				flags = g_list_append(flags, GINT_TO_POINTER(f));
+				users = g_list_prepend(users, tmp);
+				flags = g_list_prepend(flags, GINT_TO_POINTER(f));
 				cur = end;
 				if (*cur)
 					cur++;