From: Stevan Little Date: Thu, 13 Dec 2007 04:28:23 +0000 (+0000) Subject: slighttweak X-Git-Tag: 0_51~21 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=49f7873e0bf43676a5f8d7c97154e63111a4f2a2;p=gitmo%2FClass-MOP.git slighttweak --- diff --git a/MOP.xs b/MOP.xs index 4995b02..47d02d4 100644 --- a/MOP.xs +++ b/MOP.xs @@ -32,7 +32,6 @@ get_code_info(coderef) char* name; char* pkg; PPCODE: - if( SvOK(coderef) && SvROK(coderef) && SvTYPE(SvRV(coderef)) == SVt_PVCV){ coderef = SvRV(coderef); name = GvNAME( CvGV(coderef) );