summaryrefslogtreecommitdiffstats
path: root/lib/Bot/Games.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Bot/Games.pm')
-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 {