From 2bb05c85b41dc4d05e7ff6369b5d3329d053d00e Mon Sep 17 00:00:00 2001 From: ststrobel Date: Tue, 8 Apr 2014 05:41:17 +0000 Subject: [PATCH] fixed noShutdown attribute in HTTPMOD git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5481 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_HTTPMOD.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/FHEM/98_HTTPMOD.pm b/fhem/FHEM/98_HTTPMOD.pm index 407eff816..dfdfc2bd8 100755 --- a/fhem/FHEM/98_HTTPMOD.pm +++ b/fhem/FHEM/98_HTTPMOD.pm @@ -26,6 +26,7 @@ # 2014-1-6 extended error handling and added documentation # 2014-1-15 added readingsExpr to allow some computation on raw values before put in readings # 2014-3-13 added noShutdown and disable attributes +# 2014-4-8 fixed noShutdown check package main; @@ -250,7 +251,7 @@ sub HTTPMOD_GetUpdate($) delete $hash->{data}; } - if (AttrVal($name, "disable", undef)) { + if (AttrVal($name, "noShutdown", undef)) { $hash->{noshutdown} = 1; } else { delete $hash->{noshutdown};