Also call object_del() on a renewed actor in actor_request().

This commit is contained in:
default 2022-11-25 12:50:19 +01:00
parent 4bbebe8e4e
commit afeec970a3

View file

@ -65,6 +65,7 @@ int actor_request(snac *snac, char *actor, d_char **data)
if (valid_status(status2)) {
/* renew data */
object_del(actor);
status = actor_add(snac, actor, payload);
if (data != NULL) {