contrib/commandref_join.pl: global Patch from Markus (Forum #50722)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@11047 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2016-03-12 12:23:59 +00:00
parent fe4d05d545
commit 7a536d24d9

View File

@ -85,7 +85,8 @@ foreach my $lang (@lang) {
$modType = "command" if($l =~ m/>Fhem commands</);
$modType = "device" if($l =~ m/>Devices</);
$modType = "helper" if($l =~ m/>Helper modules</);
$modIdx{$1} = $modType if($modType && $l =~ m/href="#(.*?)">/);
$modIdx{$1} = $modType
if($modType && $l =~ m/href="#(.*?)">/ && $1 ne "global");
last if($l =~ m/<!-- header end -->/);
}
seek(IN,0,0);