summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2009-04-26 23:27:02 -0500
committerdoy <doy@tozt.net>2009-04-26 23:27:02 -0500
commit18e674a5eddf7618cf6a2f42be2da498760bd508 (patch)
tree7d987d5fb86d213642860b3c1903bd659bdc29e6
parentb71105b36a57855650fca6761d177ec45f81eb20 (diff)
downloadbot-games-18e674a5eddf7618cf6a2f42be2da498760bd508.tar.gz
bot-games-18e674a5eddf7618cf6a2f42be2da498760bd508.zip
->meta->does_role, not ->does_role
-rw-r--r--lib/Bot/Games.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Bot/Games.pm b/lib/Bot/Games.pm
index 420d658..6bc5023 100644
--- a/lib/Bot/Games.pm
+++ b/lib/Bot/Games.pm
@@ -100,7 +100,7 @@ sub said {
}
my $body = $method_meta->execute($game, $arg,
{player => $args->{who}});
- my @extra_args = $method_meta->does_role('Bot::Games::Trait::Method::Formatted') ? (formatter => $method_meta->formatter) : ();
+ my @extra_args = $method_meta->meta->does_role('Bot::Games::Trait::Method::Formatted') ? (formatter => $method_meta->formatter) : ();
$self->$say($body, @extra_args);
}
else {