changeset 1545:34a5a436d04d

[gaim-migrate @ 1555] hi committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 08 Mar 2001 07:57:03 +0000
parents f7bef430ccd1
children 92b3dd1e4129
files src/away.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/away.c	Thu Mar 08 06:04:45 2001 +0000
+++ b/src/away.c	Thu Mar 08 07:57:03 2001 +0000
@@ -369,8 +369,10 @@
 				GList *msgs, *tmp;
 				gc = con->data;
 
-				if (!gc->prpl->away_states || !gc->prpl->set_away)
+				if (!gc->prpl->away_states || !gc->prpl->set_away) {
+					con = con->next;
 					continue;
+				}
 
 				g_snprintf(buf, sizeof(buf), "%s (%s)",
 					   gc->username, (*gc->prpl->name)());