From 704bf55df5fae51bf0e8d86679ee7f34e22553d2 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sun, 9 Aug 2015 08:16:50 +0300 Subject: 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) --- server/src/modules_handler.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'server/src/modules_handler.cpp') 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::listget_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) -- cgit v1.2.3