commit cde8650
default
·
2022-11-23 20:43:00 +0000 UTC
parent 180c340
Don't search explicitly for Person in actor_get(). Some actors are of type Service.
1 files changed,
+2,
-2
M
data.c
M
data.c
+2,
-2
1@@ -274,7 +274,7 @@ int object_add(const char *id, d_char *obj)
2 else
3 status = 500;
4
5- srv_debug(2, xs_fmt("object_add %s %d", id, status));
6+ srv_debug(2, xs_fmt("object_add %s %s %d", id, fn, status));
7
8 return status;
9 }
10@@ -1094,7 +1094,7 @@ int actor_get(snac *snac, const char *actor, d_char **data)
11 }
12
13 /* read the object */
14- if (!valid_status(status = object_get(actor, &d, "Person")))
15+ if (!valid_status(status = object_get(actor, &d, NULL)))
16 return status;
17
18 if (data)