[Commands] Add #zonevariable Command (#4882)

* [Commands] Add #zonevariable Command

* Update zonevariable.cpp

* Argument safety

---------

Co-authored-by: Chris Miles <akkadius1@gmail.com>
This commit is contained in:
Alex King
2025-05-14 21:53:43 -04:00
committed by GitHub
parent 888a88f966
commit f29478c105
8 changed files with 116 additions and 8 deletions
+2 -2
View File
@@ -561,9 +561,9 @@ std::string Perl_Zone_GetBucketRemaining(Zone* self, const std::string bucket_na
return self->GetBucketRemaining(bucket_name);
}
void Perl_Zone_ClearVariables(Zone* self)
bool Perl_Zone_ClearVariables(Zone* self)
{
self->ClearVariables();
return self->ClearVariables();
}
bool Perl_Zone_DeleteVariable(Zone* self, const std::string variable_name)