| 182 } |
182 } |
| 183 |
183 |
| 184 /* XXX I don't like messing directly with these buddies */ |
184 /* XXX I don't like messing directly with these buddies */ |
| 185 gboolean irc_blist_timeout(struct irc_conn *irc) |
185 gboolean irc_blist_timeout(struct irc_conn *irc) |
| 186 { |
186 { |
| 187 GString *string = g_string_sized_new(512); |
187 GString *string; |
| 188 char *list, *buf; |
188 char *list, *buf; |
| |
189 |
| |
190 if (irc->ison_outstanding) |
| |
191 return TRUE; |
| |
192 |
| |
193 string = g_string_sized_new(512); |
| 189 |
194 |
| 190 g_hash_table_foreach(irc->buddies, (GHFunc)irc_buddy_append, (gpointer)string); |
195 g_hash_table_foreach(irc->buddies, (GHFunc)irc_buddy_append, (gpointer)string); |
| 191 |
196 |
| 192 list = g_string_free(string, FALSE); |
197 list = g_string_free(string, FALSE); |
| 193 if (!list || !strlen(list)) { |
198 if (!list || !strlen(list)) { |