From 51885d4d10ea7ee2507ffb7069a2298a7113e658 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 16 Aug 2009 23:59:03 -0500 Subject: active_games shouldn't be able to be set in the constructor --- lib/Bot/Games.pm | 9 +++++---- 1 file 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 => ( -- cgit v1.2.3-54-g00ecf