diff options
author | jake <jake@jakes-mail.top> | 2022-09-02 19:53:43 -0400 |
---|---|---|
committer | jake <jake@jakes-mail.top> | 2022-09-02 19:53:43 -0400 |
commit | bfa3d4b083f26b6af8809c44aa865c743cd497ba (patch) | |
tree | edef6851ec1808f2f0c972fc6596555b6d1e4dd6 | |
parent | f88ff93ef92f3ce79cc01220c4ee9fcbc14649cb (diff) |
Fix config setting about gone
Previously, default => gone = true, wouldnt not work. Now it does
-rwxr-xr-x | gmi.pl | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -7,7 +7,7 @@ use warnings; use 5.010; #use diagnostics; -our $VERSION = 'v0.18.0'; +our $VERSION = 'v0.18.1'; # Modules use IO::Socket::SSL; # CPAN @@ -1227,11 +1227,10 @@ sub check_for_gone { } } } - elsif (exists $config->{default}{gone}) { - if (exists $config->{default}{gone}{append} and $config->{default}{gone}{append} eq 'true') { - if (path_in_vhost_root_translated($vhost, "$path.gone")) { - return 1; - } + + if (exists $config->{default}{gone} and $config->{default}{gone} eq 'true') { + if (path_in_vhost_root_translated($vhost, "$path.gone")) { + return 1; } } |