diff options
| -rw-r--r-- | data.c | 7 |
1 files changed, 7 insertions, 0 deletions
| @@ -779,6 +779,13 @@ int actor_get(snac *snac, char *actor, d_char **data) | |||
| 779 | int status; | 779 | int status; |
| 780 | FILE *f; | 780 | FILE *f; |
| 781 | 781 | ||
| 782 | if (strcmp(actor, snac->actor) == 0) { | ||
| 783 | if (data) | ||
| 784 | *data = msg_actor(snac); | ||
| 785 | |||
| 786 | return 200; | ||
| 787 | } | ||
| 788 | |||
| 782 | t = mtime(fn); | 789 | t = mtime(fn); |
| 783 | 790 | ||
| 784 | /* no mtime? there is nothing here */ | 791 | /* no mtime? there is nothing here */ |