libkernelland_emu: Fix wrong return in ModuleList::AddModule().

This commit is contained in:
Michael Lotz 2014-10-21 00:08:48 +02:00
parent 04ed6105f1
commit 9656eef895

View File

@ -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