summaryrefslogtreecommitdiff
path: root/src/modules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules.cpp')
-rw-r--r--src/modules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 495181cf4..006802cf5 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -889,7 +889,7 @@ std::string ConfigReader::ReadValue(std::string tag, std::string name, int index
this->error = CONF_VALUE_NOT_FOUND;
return "";
}
- return std::string(val);
+ return val;
}
bool ConfigReader::ReadFlag(std::string tag, std::string name, int index)