diff options
| author | 2013-04-05 18:23:44 +0200 | |
|---|---|---|
| committer | 2013-04-05 18:23:44 +0200 | |
| commit | 0fa365373eb9110a05ee4be5c36c9757c30f1a25 (patch) | |
| tree | 54bb2e558a5bb8f2416e32977db6b767d7eb6f84 /src/modmanager_static.cpp | |
| parent | Fix LUSERS not working in a PURE_STATIC build (diff) | |
| download | inspircd++-0fa365373eb9110a05ee4be5c36c9757c30f1a25.tar.gz inspircd++-0fa365373eb9110a05ee4be5c36c9757c30f1a25.tar.bz2 inspircd++-0fa365373eb9110a05ee4be5c36c9757c30f1a25.zip | |
Don't attempt to unload or reload modules that are waiting to be unloaded
Diffstat (limited to 'src/modmanager_static.cpp')
| -rw-r--r-- | src/modmanager_static.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |
