diff options
author | doy <doy@tozt.net> | 2008-12-18 03:41:40 -0500 |
---|---|---|
committer | doy <doy@tozt.net> | 2008-12-18 03:41:40 -0500 |
commit | c3399233ebef1c7608aabcb710fac774361d1d6b (patch) | |
tree | fc022aa73f2c1fc1415b098347b58fcb41e70afd /lib/Bot/Games.pm | |
parent | b0886928a38f17a0ccc7822b8c481c5969e77c47 (diff) | |
download | bot-games-c3399233ebef1c7608aabcb710fac774361d1d6b.tar.gz bot-games-c3399233ebef1c7608aabcb710fac774361d1d6b.zip |
again, need laziness because B::BB isn't a moose class, so we don't get a moose constructor
Diffstat (limited to 'lib/Bot/Games.pm')
-rw-r--r-- | lib/Bot/Games.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Bot/Games.pm b/lib/Bot/Games.pm index b032b47..2810506 100644 --- a/lib/Bot/Games.pm +++ b/lib/Bot/Games.pm @@ -11,12 +11,14 @@ extends 'Bot::BasicBot'; has prefix => ( is => 'ro', isa => 'Str', + lazy => 1, default => '!', ); has active_games => ( is => 'ro', isa => 'HashRef[Bot::Games::Game]', + lazy => 1, default => sub { {} }, ); |