diff options
author | Jesse Luehrs <doy@tozt.net> | 2009-06-02 01:31:33 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2009-06-02 01:32:11 -0500 |
commit | 7d059870682438390ed816330259a8e23550bfcb (patch) | |
tree | 5b62388969180e936d7f07cf838c2c4518aed857 | |
parent | cbe5cf384a5fe0933fdf16099dad1bb7b928c00e (diff) | |
download | bot-games-7d059870682438390ed816330259a8e23550bfcb.tar.gz bot-games-7d059870682438390ed816330259a8e23550bfcb.zip |
todo comment
-rw-r--r-- | lib/Bot/Games/Trait/Attribute/Command.pm | 3 |
1 files changed, 3 insertions, 0 deletions
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; |