Default an empty Storage to doing Deletes

This commit is contained in:
Isaac Connor 2018-04-18 09:26:36 -04:00
parent f620781f7e
commit bfe82e297a
1 changed files with 9 additions and 0 deletions

View File

@ -113,6 +113,15 @@ sub Name {
return $_[0]{Name};
} # end sub Path
sub DoDelete {
$self = shift;
$$self{DoDelete} = shift if @_;
if ( ! defined $$self{DoDelete} ) {
$$self{DoDelete} = 1;
}
return $$self{DoDelete};
}
sub Server {
my $self = shift;
if ( ! $$self{Server} ) {