diff --git a/src/Utils/Library.hpp b/src/Utils/Library.hpp index e4d738e0..2f5d288b 100644 --- a/src/Utils/Library.hpp +++ b/src/Utils/Library.hpp @@ -13,7 +13,7 @@ namespace Utils template std::function Get(std::string process) { - if (this->Valid()) + if (!this->Valid()) { throw new std::runtime_error("Library not loaded!"); }