summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2016-07-30 13:21:11 +0200
committerGitHub <noreply@github.com>2016-07-30 13:21:11 +0200
commit62702cab48ab3b8922f28d8492582627b68d7b9f (patch)
tree7ace7457653d3de81d824ad1ace40b6e9ddc7597 /src
parentMerge pull request #3289 from cuberite/autocompletefix2 (diff)
downloadcuberite-62702cab48ab3b8922f28d8492582627b68d7b9f.tar
cuberite-62702cab48ab3b8922f28d8492582627b68d7b9f.tar.gz
cuberite-62702cab48ab3b8922f28d8492582627b68d7b9f.tar.bz2
cuberite-62702cab48ab3b8922f28d8492582627b68d7b9f.tar.lz
cuberite-62702cab48ab3b8922f28d8492582627b68d7b9f.tar.xz
cuberite-62702cab48ab3b8922f28d8492582627b68d7b9f.tar.zst
cuberite-62702cab48ab3b8922f28d8492582627b68d7b9f.zip
Diffstat (limited to '')
-rw-r--r--src/main.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 76af90cde..6061602d7 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -392,7 +392,7 @@ static std::unique_ptr<cMemorySettingsRepository> ParseArguments(int argc, char
{
for (auto port: portsArg.getValue())
{
- repo->AddValue("Server", "Port", static_cast<Int64>(port));
+ repo->AddValue("Server", "Ports", std::to_string(port));
}
}
if (commLogArg.getValue())
@@ -555,7 +555,3 @@ int main(int argc, char ** argv)
return EXIT_SUCCESS;
}
-
-
-
-