diff options
author | Jesse Luehrs <doy@tozt.net> | 2009-08-16 23:59:03 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2009-08-16 23:59:03 -0500 |
commit | 51885d4d10ea7ee2507ffb7069a2298a7113e658 (patch) | |
tree | 5c8789261e88d5524c15e0a1869ec9761677aca0 | |
parent | 666d5f780c2e43c81da331d51e69bb9f7d83288c (diff) | |
download | bot-games-51885d4d10ea7ee2507ffb7069a2298a7113e658.tar.gz bot-games-51885d4d10ea7ee2507ffb7069a2298a7113e658.zip |
active_games shouldn't be able to be set in the constructor
-rw-r--r-- | lib/Bot/Games.pm | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/Bot/Games.pm b/lib/Bot/Games.pm index f0ef0bd..6f40d4f 100644 --- a/lib/Bot/Games.pm +++ b/lib/Bot/Games.pm @@ -14,10 +14,11 @@ has prefix => ( ); has active_games => ( - is => 'ro', - isa => 'HashRef[Bot::Games::Game]', - lazy => 1, - default => sub { {} }, + is => 'ro', + isa => 'HashRef[Bot::Games::Game]', + lazy => 1, + default => sub { {} }, + init_arg => undef, ); has alias => ( |