Override module when .replace is found
This commit is contained in:
parent
3f057367e3
commit
86bfb22d4c
@ -146,9 +146,11 @@ void node_entry::create_module_tree(const char *module) {
|
|||||||
if (is_root()) {
|
if (is_root()) {
|
||||||
// Root nodes should not be replaced
|
// Root nodes should not be replaced
|
||||||
rm_rf(buf);
|
rm_rf(buf);
|
||||||
return;
|
} else if (status < IS_MODULE) {
|
||||||
}
|
// Upgrade current node to current module
|
||||||
|
this->module = module;
|
||||||
status = IS_MODULE;
|
status = IS_MODULE;
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user