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

This commit is contained in:
default
2025-01-10 08:34:48 +01:00
parent 538f6970f8
commit ef7c257c5c
+1 -1
View File
@@ -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", "");