diff options
-rw-r--r-- | src/irc/proxy/listen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc/proxy/listen.c b/src/irc/proxy/listen.c index 89972fab..516dcf95 100644 --- a/src/irc/proxy/listen.c +++ b/src/irc/proxy/listen.c @@ -533,7 +533,7 @@ static void read_settings(void) while (remove_listens != NULL) { remove_listen(remove_listens->data); - g_slist_remove(remove_listens, remove_listens->data); + remove_listens = g_slist_remove(remove_listens, remove_listens->data); } } |