diff options
author | default <nobody@localhost> | 2022-10-25 18:44:29 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2022-10-25 18:44:29 +0200 |
commit | 8f17e80cc1163db360c8cf0326c34164e7604cea (patch) | |
tree | 91b96a3fe8b1aeba01a7becb48871fb4a0d2a8b7 | |
parent | 78b3a304479ac3063bf75d41ed25539ed474763d (diff) |
Fixed another bug in actor_get().
-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) 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 */ |