summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorCraig Robbins <kde.psych@gmail.com>2014-11-23 01:08:51 +1000
committerCraig Robbins <kde.psych@gmail.com>2014-11-23 01:12:25 +1000
commit21464639b3f593ddc35b0283becc0c7c9b05dcac (patch)
tree5720fe48b441f6669415ed43fd6eb7142a1713c5 /src/main.cpp
parentd6cc0d8223b6d1366eafef22fd0fa9541c0f06ec (diff)
downloadminetest-21464639b3f593ddc35b0283becc0c7c9b05dcac.tar.gz
minetest-21464639b3f593ddc35b0283becc0c7c9b05dcac.tar.bz2
minetest-21464639b3f593ddc35b0283becc0c7c9b05dcac.zip
Fix regression with USE_REDIS (refactor_main)
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 32a46e5cf..8ba24f307 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1514,7 +1514,7 @@ static bool migrate_database(const GameParams &game_params, const Settings &cmd_
#if USE_REDIS
else if (migrate_to == "redis")
new_db = new Database_Redis(&(ServerMap&)server->getMap(),
- game_params.requested_world_path);
+ game_params.world_path);
#endif
else {
errorstream << "Migration to " << migrate_to << " is not supported"