diff --git a/lib/master.pike b/lib/master.pike index b98a9f61c3dd25f5d23ba0091230c19407d4b5d6..5b1eef2dfebf12eb70ddb1075b2dbbe16af9f7f2 100644 --- a/lib/master.pike +++ b/lib/master.pike @@ -221,7 +221,8 @@ class dirnode if(mixed tmp=o->_module_value) o=tmp; if(o=o[index]) return o; } - if(object o=((object)"/master")->findmodule(dirname+"/"+index)) + index = dirname+"/"+index; + if(object o=((object)"/master")->findmodule(index)) { if(mixed tmp=o->_module_value) o=tmp; return o;