summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xgmi.pl11
1 files changed, 5 insertions, 6 deletions
diff --git a/gmi.pl b/gmi.pl
index 269ed36..ab0b0e4 100755
--- a/gmi.pl
+++ b/gmi.pl
@@ -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;
}
}