diff options
Diffstat (limited to 'xchat/zeitgeist-dataprovider.c')
-rw-r--r-- | xchat/zeitgeist-dataprovider.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xchat/zeitgeist-dataprovider.c b/xchat/zeitgeist-dataprovider.c index 253a841..115cff4 100644 --- a/xchat/zeitgeist-dataprovider.c +++ b/xchat/zeitgeist-dataprovider.c @@ -104,7 +104,7 @@ static int part_cb(char *word[], char* word_eol[], void *userdata) if (g_strcmp0 (tmp->data, channel) == 0) { g_free(tmp->data); - channel_list = g_slist_remove(channel_list, tmp->data); + channel_list = g_slist_delete_link(channel_list, tmp); break; } tmp = tmp->next; |