diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-21 16:59:23 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-21 16:59:23 +0000 |
commit | 98659aa0dcac7636627846555ef7d5f807152b7e (patch) | |
tree | 4726b3771ad6874862f2ff7b503264eed617f8d4 /src/modules.cpp | |
parent | f21617328a8a576c8ada619f2934ac31f0dec717 (diff) |
Merge in large patchset from GreenReaper, useful fixes for freeing a ton of different things on shutdown for tidyness, and a few stack corruption fixes in the mode handler
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9565 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index df6876b1a..617d5a0fa 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -602,14 +602,12 @@ bool ModuleManager::PublishInterface(const std::string &InterfaceName, Module* M modulelist ml; ml.push_back(Mod); Interfaces[InterfaceName] = std::make_pair(0, ml); - return true; } else { iter->second.second.push_back(Mod); - return true; } - return false; + return true; } bool ModuleManager::UnpublishInterface(const std::string &InterfaceName, Module* Mod) |