mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-15 22:26:04 +00:00
fhem.pl: better sorting of modules for Dispatch (Forum #34289)
git-svn-id: https://svn.fhem.de/fhem/trunk@8099 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
5826da64a1
commit
97473538ba
@ -3837,7 +3837,7 @@ computeClientArray($$)
|
||||
my @a = ();
|
||||
my @mRe = split(":", $hash->{Clients} ? $hash->{Clients}:$module->{Clients});
|
||||
|
||||
foreach my $m (sort { $modules{$a}{ORDER} cmp $modules{$b}{ORDER} }
|
||||
foreach my $m (sort { $modules{$a}{ORDER}.$a cmp $modules{$b}{ORDER}.$b }
|
||||
grep { defined($modules{$_}{ORDER}) } keys %modules) {
|
||||
foreach my $re (@mRe) {
|
||||
if($m =~ m/^$re$/) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user