From 8d3557268f05553c78376298810dbae0d43f5149 Mon Sep 17 00:00:00 2001 From: Ryzerth Date: Sun, 18 Jul 2021 04:39:21 +0200 Subject: [PATCH] bugfix --- core/src/module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/module.cpp b/core/src/module.cpp index 0ee1c9e5..b35ff17a 100644 --- a/core/src/module.cpp +++ b/core/src/module.cpp @@ -143,7 +143,7 @@ bool ModuleManager::instanceEnabled(std::string name) { std::string ModuleManager::getInstanceModuleName(std::string name) { if (instances.find(name) == instances.end()) { spdlog::error("Cannot get module name of'{0}', instance doesn't exist", name); - return false; + return ""; } return std::string(instances[name].module.info->name); }