use SetExtensions

git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2605 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
ntruchsess
2013-01-30 14:31:49 +00:00
parent 07569ad34c
commit 88f2fa14a6
2 changed files with 11 additions and 6 deletions

View File

@@ -23,7 +23,7 @@ SetExtensions($$@)
);
my $hasOn = ($list =~ m/\bon\b/);
my $hasOff = ($list =~ m/\bon\b/);
my $hasOff = ($list =~ m/\boff\b/);
if(!$hasOn || !$hasOff) {
my $em = AttrVal($name, "eventMap", undef);
if($em) {