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;
|
||||
if (module && !FindModule(module->Info()->name))
|
||||
result = fModules.AddItem(module);
|
||||
return module;
|
||||
return result;
|
||||
}
|
||||
|
||||
// RemoveModule
|
||||
|
Loading…
Reference in New Issue
Block a user