mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 12:49:34 +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:
parent
43f6417b49
commit
6f60d16df0
@ -91,7 +91,7 @@ BEGIN {
|
|||||||
CommandAttr
|
CommandAttr
|
||||||
CommandDefine
|
CommandDefine
|
||||||
CommandGet
|
CommandGet
|
||||||
CommandTrigger
|
CommandTrigger
|
||||||
data
|
data
|
||||||
defs
|
defs
|
||||||
devspec2array
|
devspec2array
|
||||||
@ -1210,12 +1210,14 @@ sub _parseUsers {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(%users) {
|
if(%users) {
|
||||||
$hash->{HELPER}{USERS} = \%users;
|
$hash->{HELPER}{USERS} = \%users;
|
||||||
if(!$hash->{HELPER}{USERFETCHED}) {
|
my $olduf = $hash->{HELPER}{USERFETCHED};
|
||||||
my $event = "CHAT_INITIALIZED";
|
$hash->{HELPER}{USERFETCHED} = 1;
|
||||||
CommandTrigger(undef, "$name $event");
|
|
||||||
}
|
if(!$olduf) {
|
||||||
$hash->{HELPER}{USERFETCHED} = 1;
|
my $event = "CHAT_INITIALIZED";
|
||||||
|
CommandTrigger(undef, "$name $event");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
my @newa;
|
my @newa;
|
||||||
@ -1378,7 +1380,7 @@ sub formString {
|
|||||||
"+" => "%2B",
|
"+" => "%2B",
|
||||||
};
|
};
|
||||||
|
|
||||||
%$replacements = (%$replacements, %$enctourl);
|
%$replacements = (%$replacements, %$enctourl);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
$replacements = {
|
$replacements = {
|
||||||
|
Loading…
Reference in New Issue
Block a user