Browse Source

Fixed crash in msg_place() because I'm a moron.

default 3 months ago
parent
commit
ef7c257c5c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      activitypub.c

+ 1 - 1
activitypub.c

@@ -1187,7 +1187,7 @@ xs_dict *msg_repulsion(snac *user, const char *id, const char *type)
 xs_dict *msg_place(snac *user, const char *label)
 /* creates a Place object, if the user has a location defined */
 {
-    xs *place = NULL;
+    xs_dict *place = NULL;
     const char *latitude = xs_dict_get_def(user->config, "latitude", "");
     const char *longitude = xs_dict_get_def(user->config, "longitude", "");