mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 22:45:05 +00:00
Also call object_del() on a renewed actor in actor_request().
This commit is contained in:
parent
4bbebe8e4e
commit
afeec970a3
1 changed files with 1 additions and 0 deletions
|
@ -65,6 +65,7 @@ int actor_request(snac *snac, char *actor, d_char **data)
|
||||||
|
|
||||||
if (valid_status(status2)) {
|
if (valid_status(status2)) {
|
||||||
/* renew data */
|
/* renew data */
|
||||||
|
object_del(actor);
|
||||||
status = actor_add(snac, actor, payload);
|
status = actor_add(snac, actor, payload);
|
||||||
|
|
||||||
if (data != NULL) {
|
if (data != NULL) {
|
||||||
|
|
Loading…
Reference in a new issue