summaryrefslogtreecommitdiff
path: root/variable.c
diff options
context:
space:
mode:
Diffstat (limited to 'variable.c')
-rw-r--r--variable.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/variable.c b/variable.c
index 0fd4a80887..0e6f449f91 100644
--- a/variable.c
+++ b/variable.c
@@ -112,7 +112,6 @@ static VALUE
classname(VALUE klass, int *permanent)
{
*permanent = 0;
- if (!RCLASS_EXT(klass)) return Qnil;
VALUE classpathv = rb_ivar_lookup(klass, classpath, Qnil);
if (RTEST(classpathv)) {