diff options
| author | 2013-08-22 13:41:11 +0200 | |
|---|---|---|
| committer | 2013-08-22 13:41:11 +0200 | |
| commit | 39d34b604259b17e2517fcddb5ee15198d7cb412 (patch) | |
| tree | d06f06cfc2cabac0d9329f10dd65cc26674579a8 /src/modules/m_spanningtree/main.cpp | |
| parent | Remove cmd_map from the core (diff) | |
| download | inspircd++-39d34b604259b17e2517fcddb5ee15198d7cb412.tar.gz inspircd++-39d34b604259b17e2517fcddb5ee15198d7cb412.tar.bz2 inspircd++-39d34b604259b17e2517fcddb5ee15198d7cb412.zip | |
Fix a few problems
- Fix configuration issue on systems without both GnuTLS and OpenSSL. (@SaberUK)
- Do not set Membership::modes in ForceJoin() incorrectly to privs
- Fix crash when spanningtree detects a configuration error on load
Diffstat (limited to 'src/modules/m_spanningtree/main.cpp')
| -rw-r--r-- | src/modules/m_spanningtree/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree/main.cpp b/src/modules/m_spanningtree/main.cpp index d9a3afbd4..9c2f3969a 100644 --- a/src/modules/m_spanningtree/main.cpp +++ b/src/modules/m_spanningtree/main.cpp @@ -688,6 +688,8 @@ void ModuleSpanningTree::OnLoadModule(Module* mod) void ModuleSpanningTree::OnUnloadModule(Module* mod) { + if (!Utils) + return; ServerInstance->PI->SendMetaData(NULL, "modules", "-" + mod->ModuleSourceFile); unsigned int items = Utils->TreeRoot->ChildCount(); |
