Skip to content

Commit a03930b

Browse files
Alasnkzmaddinat0r
authored andcommitted
Pass the correct variable to TryGetJsonValue.
1 parent bc706ff commit a03930b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Guild.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Guild::Guild(GuildId_t pawn_id, json const &data) :
5050
continue;
5151

5252
Snowflake_t parent_id;
53-
utils::TryGetJsonValue(data, parent_id, "parent_id");
53+
utils::TryGetJsonValue(c, parent_id, "parent_id");
5454
channel->UpdateParentChannel(parent_id);
5555
}
5656
}

0 commit comments

Comments
 (0)