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.pm5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/Bot/Games.pm b/lib/Bot/Games.pm
index 8476315..f463233 100644
--- a/lib/Bot/Games.pm
+++ b/lib/Bot/Games.pm
@@ -39,10 +39,7 @@ sub _get_command {
sub _add_method {
my $class = shift;
my ($name, $meth) = @_;
- if ($class->meta->get_method($name)) {
- warn "Not overriding method $name in $class";
- return;
- }
+ return if ($class->meta->get_method($name));
if ($class->meta->is_immutable) {
my %immutable_opts = %{ $class->meta->get_immutable_options };
$class->meta->make_mutable;