Skip to content

Commit

Permalink
Insteon/X10 Ignore no_hop_increase Flag for X10 Devices
Browse files Browse the repository at this point in the history
Fixes issue hollie#138
  • Loading branch information
krkeegan committed Mar 26, 2013
1 parent 8feea79 commit 373b809
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Insteon/Message.pm
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,8 @@ sub send
$self->setby->default_hop_count($self->setby->default_hop_count + 1);
}
}
elsif (defined($$self{no_hop_increase}) && $main::Debug{insteon}){
elsif (defined($$self{no_hop_increase}) && $main::Debug{insteon}
&& $self->setby->isa('Insteon::BaseObject')){
&main::print_log("[Insteon::BaseMessage] Hop count not increased for "
. $self->setby->get_object_name . " because no_hop_increase flag was set.");
$$self{no_hop_increase} = undef;
Expand Down

0 comments on commit 373b809

Please sign in to comment.