Skip to content

Commit

Permalink
Fix regression with USE_REDIS (refactor_main)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeno- committed Nov 22, 2014
1 parent d6cc0d8 commit 2146463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Expand Up @@ -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"
Expand Down

0 comments on commit 2146463

Please sign in to comment.