Commits

Diab Jerius committed 0374c02

add connect attribute to shadowable list

  • Participants
  • Parent commits 85c64d8

Comments (0)

Files changed (1)

lib/Hg/Lib/Server.pm

 
 Hg::Lib::Server::Pipe->shadow_attrs;
 
-shadowable_attrs( keys %{ Hg::Lib::Server::Pipe->shadowed_attrs } );
+shadowable_attrs( keys %{ Hg::Lib::Server::Pipe->shadowed_attrs }, 'connect' );
 
 has connect => (
-
     is      => 'ro',
     default => 0,
-
 );
 
 has server => (
     my $self = shift;
 
     $self->server if $self->connect;
-
 }
 
 sub DEMOLISH {