From 21464639b3f593ddc35b0283becc0c7c9b05dcac Mon Sep 17 00:00:00 2001
From: Craig Robbins <kde.psych@gmail.com>
Date: Sun, 23 Nov 2014 01:08:51 +1000
Subject: [PATCH] Fix regression with USE_REDIS (refactor_main)

---
 src/main.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"
-- 
GitLab