From 1abb0c9029393b15b00b6688cb4f169fe4828df5 Mon Sep 17 00:00:00 2001 From: rudolfkoenig Date: Sat, 12 Mar 2016 12:23:59 +0000 Subject: [PATCH] contrib/commandref_join.pl: global Patch from Markus (Forum #50722) git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@11047 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/contrib/commandref_join.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fhem/contrib/commandref_join.pl b/fhem/contrib/commandref_join.pl index fe7e9acf1..eaed8e8c5 100755 --- a/fhem/contrib/commandref_join.pl +++ b/fhem/contrib/commandref_join.pl @@ -85,7 +85,8 @@ foreach my $lang (@lang) { $modType = "command" if($l =~ m/>Fhem commandsDevicesHelper modules/); + $modIdx{$1} = $modType + if($modType && $l =~ m/href="#(.*?)">/ && $1 ne "global"); last if($l =~ m//); } seek(IN,0,0);