diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2015-08-22 05:27:36 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2015-08-22 05:27:36 +0300 |
commit | c77cb85e69a830d3b41ba1d55fdc7ff69d330491 (patch) | |
tree | e66a625b8ba7011e1b8032b202ae909aac8391bd /server/src/modules_handler.cpp | |
parent | 29e018ac3c35aa904b37330f467d7299b559acbb (diff) |
protocol:
minor corrections
few missed fields
server:
started module api designing
fixed typo in modules loader code
Diffstat (limited to 'server/src/modules_handler.cpp')
-rw-r--r-- | server/src/modules_handler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/src/modules_handler.cpp b/server/src/modules_handler.cpp index d69fabf..65148ef 100644 --- a/server/src/modules_handler.cpp +++ b/server/src/modules_handler.cpp @@ -95,7 +95,7 @@ void modules_handler::load_downloader_modules(const std::string &path) module_downloader *m = f(); m->load(module_api); sync_module_settings(m); - metadata_modules.push_back(m); + downloader_modules.push_back(m); } } } @@ -113,7 +113,7 @@ std::string modules_handler::list_modules() { std::string buf; buf += "Installed metadata modules:\n"; - buf += list_modules_single_type_internal((std::list<module_base*>)metadata_modules); + buf += list_modules_single_type_internal(metadata_modules); buf += "\nInstalled downloader modules:\n"; buf += list_modules_single_type_internal(downloader_modules); |