Fix regression with USE_REDIS (refactor_main)

This commit is contained in:
Craig Robbins 2014-11-23 01:08:51 +10:00
parent d6cc0d8223
commit 21464639b3
1 changed files with 1 additions and 1 deletions

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