From 7d059870682438390ed816330259a8e23550bfcb Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 2 Jun 2009 01:31:33 -0500 Subject: todo comment --- lib/Bot/Games/Trait/Attribute/Command.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Bot/Games/Trait/Attribute/Command.pm b/lib/Bot/Games/Trait/Attribute/Command.pm index ee6e732..a873461 100644 --- a/lib/Bot/Games/Trait/Attribute/Command.pm +++ b/lib/Bot/Games/Trait/Attribute/Command.pm @@ -20,6 +20,9 @@ before _process_options => sub { if exists($options->{needs_init}) && !$options->{command}; }; +# XXX: accessor_metaclass is also used for things like predicates, so all +# predicates associated with command attributes are being made commands too... +# this shouldn't be the case around accessor_metaclass => sub { my $orig = shift; my $self = shift; -- cgit v1.2.3-54-g00ecf