mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-12 16:46:35 +00:00
Bugfix....
git-svn-id: https://svn.fhem.de/fhem/trunk@625 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0f160d7cbb
commit
fcc92bd0de
@ -12,8 +12,8 @@
|
||||
# twitter STATUS
|
||||
# Shows status of twitter-command: Twitter:Enabeld MSG-COUNT: 2 ERR-COUNT: 0
|
||||
#
|
||||
# twitter enable
|
||||
# Enables twitter-command
|
||||
# twitter ENABLE/DISABLE
|
||||
# Enables/disbales twitter-command
|
||||
#
|
||||
# Twitter Limits
|
||||
# http://help.twitter.com/forums/10711/entries/15364
|
||||
@ -79,10 +79,15 @@ sub Commandtwitter($)
|
||||
if($msg eq "ENABLE"){
|
||||
if(defined($data{twitter}{conf}{disabeld})){
|
||||
$status = "Twitter enabled";
|
||||
retunr $status;
|
||||
return $status;
|
||||
}
|
||||
return "Twitter already Enabeld";
|
||||
}
|
||||
# Disable
|
||||
if($msg eq "DISABLE"){
|
||||
$data{twitter}{conf}{disabeld} = 1;
|
||||
return "Twitter disabeld";
|
||||
}
|
||||
#ERROR-Counter
|
||||
my ($err_cnt,$err_max);
|
||||
if(defined($data{twitter}{error})){
|
||||
|
Loading…
x
Reference in New Issue
Block a user