aboutsummaryrefslogtreecommitdiff
path: root/src/servercommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/servercommand.cpp')
-rw-r--r--src/servercommand.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/servercommand.cpp b/src/servercommand.cpp
index 89ba0771f..6c864e2c4 100644
--- a/src/servercommand.cpp
+++ b/src/servercommand.cpp
@@ -18,6 +18,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "servercommand.h"
#include "utility.h"
+#include "settings.h"
void cmd_status(std::wostringstream &os,
ServerCommandContext *ctx)
@@ -155,7 +156,7 @@ void cmd_setting(std::wostringstream &os,
std::string confline = wide_to_narrow(ctx->paramstring);
- g_settings.parseConfigLine(confline);
+ g_settings->parseConfigLine(confline);
ctx->server->saveConfig();