From 810e61589b5da5e39dad7ceef2c8d3e84fd81017 Mon Sep 17 00:00:00 2001 From: Tobias Sachs Date: Tue, 29 Mar 2016 20:33:07 +0200 Subject: [PATCH] fix usage of mh.private.ini raZberry debug setting the entries in $main::Debug are always lower case --- lib/raZberry.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/raZberry.pm b/lib/raZberry.pm index da017a413..0d342d1bb 100755 --- a/lib/raZberry.pm +++ b/lib/raZberry.pm @@ -136,8 +136,8 @@ sub new { $self->{port} = 8083; $self->{port} = $port if ($port); $self->{debug} = 0; - $self->{debug} = $main::Debug{raZberry} - if ( defined $main::Debug{raZberry} ); + $self->{debug} = $main::Debug{razberry} + if ( defined $main::Debug{razberry} ); $self->{lastupdate} = undef; $self->{timeout} = 2; $self->{timeout} = $main::config_parms{raZberry_timeout}