diff options
Diffstat (limited to 'degesch.c')
-rw-r--r-- | degesch.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4121,7 +4121,7 @@ irc_fetch_next_nickname (struct server *s) char *result = NULL; if (s->nick_counter >= 0 && (size_t) s->nick_counter < v.len) - result = str_vector_steal (&v, s->nick_counter++); + result = xstrdup (v.vector[s->nick_counter++]); if ((size_t) s->nick_counter >= v.len) // Exhausted all nicknames s->nick_counter = -1; |