From 7611e2ee44a71c41ed4dd5d243629a716ef6e2ef Mon Sep 17 00:00:00 2001 From: King_DuckZ Date: Tue, 13 Sep 2016 02:46:25 +0200 Subject: [PATCH] Bugfix - desc was overwriting host --- src/settings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/settings.cpp b/src/settings.cpp index b98403a..53300b3 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -68,7 +68,7 @@ namespace kuu { if (redirect_node["desc"]) { if (not redirect_node["desc"].IsScalar()) throw std::runtime_error("\"desc\" node is not a scalar"); - redir_settings.host = redirect_node["desc"].as(); + redir_settings.desc = redirect_node["desc"].as(); } return redir_settings;