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 faae682..7bdcd79 100644
--- a/lib/Bot/Games.pm
+++ b/lib/Bot/Games.pm
@@ -172,7 +172,7 @@ sub _get_command {
return $method_meta
if blessed($method_meta)
&& $method_meta->meta->can('does_role')
- && $method_meta->meta->does_role('Bot::Games::Meta::Role::Command');
+ && $method_meta->meta->does_role('Bot::Games::Meta::Role::Method::Command');
}
__PACKAGE__->meta->make_immutable(inline_constructor => 0);