fix duplicate module check

This commit is contained in:
2025-03-15 16:24:10 -05:00
parent 204ad1c07a
commit 5be04e9696

View File

@@ -65,7 +65,7 @@ void App::load(std::string lib) {
for(auto it = modules.begin(); it != modules.end(); it++) {
if((*it)->getName() != m->getName()) {
if((*it)->getName() == m->getName()) {
std::cout << "Module \"" << m->getName() << "\" is already loaded!\n";
return;
}