diff options
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index d581b76a5..b6a28193a 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -560,15 +560,6 @@ Module* ModuleManager::Find(const std::string &name) return modfind->second; } -const std::vector<std::string> ModuleManager::GetAllModuleNames(int filter) -{ - std::vector<std::string> retval; - for (std::map<std::string, Module*>::iterator x = Modules.begin(); x != Modules.end(); ++x) - if (!filter || (x->second->GetVersion().Flags & filter)) - retval.push_back(x->first); - return retval; -} - FileReader::FileReader(const std::string& filename) { Load(filename); |