From 4a61696c538f04b4fd76409c5ea1f10682323a80 Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 1 Apr 2020 13:12:26 +0100 Subject: [PATCH] Adjust to fix type --- src/lib/Maldet.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Maldet.pm b/src/lib/Maldet.pm index f423cf1..e006cfa 100644 --- a/src/lib/Maldet.pm +++ b/src/lib/Maldet.pm @@ -298,7 +298,7 @@ sub parse_report { sub enabled { my $config = Config::Tiny->new; $config = Config::Tiny->read( $LMD_CONF ); - return $config->{_}->{scan_user_access} || 0;; + return "$config->{_}->{scan_user_access}" || '0'; } 1;