Skip to content
Browse files

D'oh.

  • Loading branch information...
1 parent 89d3f51 commit edda39ac241eced5ea605727e9627cd7a02ef087 @sanko committed
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/Net/BitTorrent/Storage/Node.pm
View
2 lib/Net/BitTorrent/Storage/Node.pm
@@ -64,6 +64,8 @@ package Net::BitTorrent::Storage::Node;
}
);
+ sub open { shift->_set_open_mode(shift); }
+ sub close { shift->_set_open_mode(undef); }
sub read ($$$) {
my ($self, $offset, $length) = @_;
return if !$self->open_mode;

0 comments on commit edda39a

Please sign in to comment.
Something went wrong with that request. Please try again.