Fix regression with USE_REDIS (refactor_main)
authorCraig Robbins <kde.psych@gmail.com>
Sat, 22 Nov 2014 15:08:51 +0000 (01:08 +1000)
committerCraig Robbins <kde.psych@gmail.com>
Sat, 22 Nov 2014 15:12:25 +0000 (01:12 +1000)
src/main.cpp

index 32a46e5cfb6dc7e9fd6099b9eeba3ca543492293..8ba24f307d6e6fdd89b8855cc205485adbe1cc5e 100644 (file)
@@ -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"