Skip to content
Snippets Groups Projects
Commit d31b02cc authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Now supports program entries in the directory node again.

Rev: lib/master.pike:1.38
parent 9f6847cc
No related branches found
No related tags found
No related merge requests found
...@@ -221,7 +221,8 @@ class dirnode ...@@ -221,7 +221,8 @@ class dirnode
if(mixed tmp=o->_module_value) o=tmp; if(mixed tmp=o->_module_value) o=tmp;
if(o=o[index]) return o; 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; if(mixed tmp=o->_module_value) o=tmp;
return o; return o;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment