diff options
author | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2015-08-09 08:16:50 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss@sss.chaoslab.ru> | 2015-08-09 08:16:50 +0300 |
commit | 704bf55df5fae51bf0e8d86679ee7f34e22553d2 (patch) | |
tree | 68385079dec7204d8c646d4937e93d68cd4cbd42 /server/src/modules_handler.cpp | |
parent | 5a4cbe950cd653385fc6e93aa860542b01bdf1bc (diff) |
client-qt:
socket wraper to work with both ssl and plain connection
server:
socket wraper to work with both ssl and plain connection
bit of config related changes
ssl support (untested)
Diffstat (limited to 'server/src/modules_handler.cpp')
-rw-r--r-- | server/src/modules_handler.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/server/src/modules_handler.cpp b/server/src/modules_handler.cpp index 818539b..d69fabf 100644 --- a/server/src/modules_handler.cpp +++ b/server/src/modules_handler.cpp @@ -30,11 +30,9 @@ +#include "config.h" - -namespace bpt = boost::property_tree; - extern runtime_config_s runtime_config; @@ -131,7 +129,7 @@ std::string modules_handler::list_modules_single_type_internal(const std::list<m buf += (*i)->get_module_info().name; buf += "\n\tDescription: " +(*i)->get_module_info().description; buf += "\n\tVersion: " + (*i)->get_module_info().version; - if(runtime_config.verbosity >= 1) + if(runtime_config.settings.verbosity >= 1) { buf += "\n\tAvailable options:"; for(auto i1 = (*i)->get_module_info().default_settings.begin(), end = (*i)->get_module_info().default_settings.end(); i1 != end; ++i1) |