mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-24 00:23:38 +00:00
Fixed another bug in actor_get().
This commit is contained in:
parent
78b3a30447
commit
8f17e80cc1
1 changed files with 7 additions and 0 deletions
7
data.c
7
data.c
|
@ -779,6 +779,13 @@ int actor_get(snac *snac, char *actor, d_char **data)
|
|||
int status;
|
||||
FILE *f;
|
||||
|
||||
if (strcmp(actor, snac->actor) == 0) {
|
||||
if (data)
|
||||
*data = msg_actor(snac);
|
||||
|
||||
return 200;
|
||||
}
|
||||
|
||||
t = mtime(fn);
|
||||
|
||||
/* no mtime? there is nothing here */
|
||||
|
|
Loading…
Reference in a new issue