Merge branch 'expand_modules'
[catagits/Catalyst-Runtime.git] / lib / Catalyst / Component.pm
index bccd3f9..1b2d462 100644 (file)
@@ -85,8 +85,6 @@ sub BUILDARGS {
         } elsif (Class::MOP::is_class_loaded($_[0]) &&
                 $_[0]->isa('Catalyst') && ref($_[1]) eq 'HASH') {
             $args = $_[1];
-        } elsif ($_[0] eq $_[1]) {
-            $args = $_[1];
         } else {
             $args = +{ @_ };
         }