Fixed another bug in actor_get().

This commit is contained in:
default 2022-10-25 18:44:29 +02:00
parent 78b3a30447
commit 8f17e80cc1

7
data.c
View file

@ -779,6 +779,13 @@ int actor_get(snac *snac, char *actor, d_char **data)
int status; int status;
FILE *f; FILE *f;
if (strcmp(actor, snac->actor) == 0) {
if (data)
*data = msg_actor(snac);
return 200;
}
t = mtime(fn); t = mtime(fn);
/* no mtime? there is nothing here */ /* no mtime? there is nothing here */