2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

50_Signalbot: fixed small typo preventing FHEM to start

git-svn-id: https://svn.fhem.de/fhem/trunk@27075 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Adimarantis 2023-01-17 16:23:34 +00:00
parent 2b5ddbdd88
commit 938b6848a3

View File

@ -274,7 +274,7 @@ sub Signalbot_Set($@) { #
$hash->{helper}{register}=undef;
$hash->{helper}{verification}=undef;
$hash->{helper}{captcha}=undef;
my $ret = Signalbot_setup($hash);
$ret = Signalbot_setup($hash);
$hash->{STATE} = $ret if defined $ret;
Signalbot_createRegfiles($hash);
return undef;
@ -1224,7 +1224,7 @@ sub Signalbot_setup2($@) {
readingsBulkUpdate($hash, 'joinedGroups', "");
readingsBulkUpdate($hash, 'lastError', "No account registered - use set account to connect to an existing registration, link or register to get a new account");
$hash->{STATE}="Disconnected";
readingsBulkupdate($hash, 'state', "disconnected");
readingsBulkUpdate($hash, 'state', "disconnected");
readingsEndUpdate($hash, 1);
return undef;
}