00_MQTT2_SERVER.pm: send a message only once, event if it is subscribed twice (Forum #91394)

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@17919 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-12-07 19:24:51 +00:00
parent f8d513f0a8
commit d9e9d12333

View File

@ -445,6 +445,7 @@ MQTT2_SERVER_sendto($$$$)
pack("n", length($topic)).
$topic.$val);
}
last; # send a message only once
}
}