From 18e674a5eddf7618cf6a2f42be2da498760bd508 Mon Sep 17 00:00:00 2001 From: doy Date: Sun, 26 Apr 2009 23:27:02 -0500 Subject: ->meta->does_role, not ->does_role --- lib/Bot/Games.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3-54-g00ecf