diff options
Diffstat (limited to 'lib/Bot/Games.pm')
-rw-r--r-- | lib/Bot/Games.pm | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/Bot/Games.pm b/lib/Bot/Games.pm index dcc4671..83516bb 100644 --- a/lib/Bot/Games.pm +++ b/lib/Bot/Games.pm @@ -5,14 +5,7 @@ use Module::Pluggable search_path => 'Bot::Games::Game', except => ['Bot::Games::Game::Ghostlike'], sub_name => 'games'; -extends 'Bot::BasicBot', 'Moose::Object'; -around new => sub { - my $orig = shift; - my $class = shift; - my $self = $class->$orig(@_); - $self->BUILDALL({@_}); - return $self; -}; +extends 'Bot::BasicBot'; has prefix => ( is => 'rw', |