[Bug Fix] Fix Bot::CheckDataBucket to work with Owner Buckets. (#3552)

This commit is contained in:
Aeadoin
2023-08-18 16:41:24 -04:00
committed by GitHub
parent 108397b138
commit 00e02b61ca
+1
View File
@@ -8170,6 +8170,7 @@ bool Bot::CheckDataBucket(std::string bucket_name, const std::string& bucket_val
if (b.value.empty() && GetBotOwner()) {
// fetch from owner
k = GetBotOwner()->GetScopedBucketKeys();
k.key = bucket_name;
b = DataBucket::GetData(k);
if (b.value.empty()) {