diff options
-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; } } |