X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=blobdiff_plain;f=lib%2FCatalyst%2FComponent.pm;h=1b2d46201921ccf0b7b02543e530e27098191540;hp=bccd3f951005e26166160d607c94d84abc1c1e69;hb=83e69a6b03e61e29f918144cff0b0562e2a92ec4;hpb=5d02e7902fb093a28deeea34bd4bd8a729e78be4 diff --git a/lib/Catalyst/Component.pm b/lib/Catalyst/Component.pm index bccd3f9..1b2d462 100644 --- a/lib/Catalyst/Component.pm +++ b/lib/Catalyst/Component.pm @@ -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 = +{ @_ }; }