mirror of
https://github.com/fhem/fhem-mirror.git
synced 2024-11-22 16:09:49 +00:00
small bug fix
git-svn-id: https://svn.fhem.de/fhem/trunk@1884 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
9ebe8e2588
commit
c6d0d3b21b
@ -77,13 +77,13 @@ sub SecvestIP_Set($$$) {
|
||||
|
||||
my ($hash, $name ,$cmd) = @_;
|
||||
|
||||
# Get current SecvestIP state
|
||||
SecvestIP_Get($hash);
|
||||
|
||||
return "Unknown argument $cmd, choose one of state:Set,Unset,PartSet" if ($cmd eq "?");
|
||||
|
||||
Log 1, "SecvestIP: Set $name $cmd";
|
||||
|
||||
# Get current SecvestIP state
|
||||
SecvestIP_Get($hash);
|
||||
|
||||
my $url = 'http://'.$hash->{HOST}.'/';
|
||||
|
||||
my $agent = LWP::UserAgent->new(
|
||||
|
Loading…
Reference in New Issue
Block a user