X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fmodmanager_static.cpp;h=8f532ee80c9b0077a9d49b3e009af95238f63b39;hb=216877cc5b595b5b6bbc5f953e226618201cc0f6;hp=d2a2f2c098491b760f6c64f14e6cb20f9cbf1297;hpb=08a566b5d7f4a9c1bafd4bf74d2a05ed8010d6b6;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/modmanager_static.cpp b/src/modmanager_static.cpp index d2a2f2c09..8f532ee80 100644 --- a/src/modmanager_static.cpp +++ b/src/modmanager_static.cpp @@ -93,6 +93,7 @@ bool ModuleManager::Load(const std::string& name, bool defer) mod = (*it->second->init)(); mod->ModuleSourceFile = name; mod->ModuleDLLManager = NULL; + mod->dying = false; Modules[name] = mod; if (defer) {