libkernelland_emu: Fix wrong return in ModuleList::AddModule().
This commit is contained in:
parent
04ed6105f1
commit
9656eef895
@ -364,7 +364,7 @@ ModuleList::AddModule(Module *module)
|
|||||||
bool result = false;
|
bool result = false;
|
||||||
if (module && !FindModule(module->Info()->name))
|
if (module && !FindModule(module->Info()->name))
|
||||||
result = fModules.AddItem(module);
|
result = fModules.AddItem(module);
|
||||||
return module;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
// RemoveModule
|
// RemoveModule
|
||||||
|
Loading…
Reference in New Issue
Block a user