2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-28 11:01:59 +00:00

50_SSChatBot: contrib 1.12.0

git-svn-id: https://svn.fhem.de/fhem/trunk@23219 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
nasseeder1 2020-11-23 13:40:33 +00:00
parent 43f6417b49
commit 6f60d16df0

View File

@ -1211,11 +1211,13 @@ sub _parseUsers {
if(%users) {
$hash->{HELPER}{USERS} = \%users;
if(!$hash->{HELPER}{USERFETCHED}) {
my $olduf = $hash->{HELPER}{USERFETCHED};
$hash->{HELPER}{USERFETCHED} = 1;
if(!$olduf) {
my $event = "CHAT_INITIALIZED";
CommandTrigger(undef, "$name $event");
}
$hash->{HELPER}{USERFETCHED} = 1;
}
my @newa;