Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix on_successful_save -> onSuccessfulSave
  • Loading branch information
nerzhul committed Jan 4, 2019
1 parent c1d7dbf commit 4a7c97c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/database/database-files.cpp
Expand Up @@ -106,7 +106,7 @@ void PlayerDatabaseFiles::savePlayer(RemotePlayer *player)
infostream << "Failed to write " << path << std::endl;
}

player->on_successful_save();
player->onSuccessfulSave();
}

bool PlayerDatabaseFiles::removePlayer(const std::string &name)
Expand Down
2 changes: 1 addition & 1 deletion src/database/database-postgresql.cpp
Expand Up @@ -529,7 +529,7 @@ void PlayerDatabasePostgreSQL::savePlayer(RemotePlayer *player)
}
endSave();

player->on_successful_save();
player->onSuccessfulSave();
}

bool PlayerDatabasePostgreSQL::loadPlayer(RemotePlayer *player, PlayerSAO *sao)
Expand Down
2 changes: 1 addition & 1 deletion src/database/database-sqlite3.cpp
Expand Up @@ -531,7 +531,7 @@ void PlayerDatabaseSQLite3::savePlayer(RemotePlayer *player)

endSave();

player->on_successful_save();
player->onSuccessfulSave();
}

bool PlayerDatabaseSQLite3::loadPlayer(RemotePlayer *player, PlayerSAO *sao)
Expand Down
2 changes: 1 addition & 1 deletion src/remoteplayer.cpp
Expand Up @@ -224,7 +224,7 @@ const RemotePlayerChatResult RemotePlayer::canSendChatMessage()
return RPLAYER_CHATRESULT_OK;
}

void RemotePlayer::on_successful_save()
void RemotePlayer::onSuccessfulSave()
{
setModified(false);
if (m_sao)
Expand Down
2 changes: 1 addition & 1 deletion src/remoteplayer.h
Expand Up @@ -139,7 +139,7 @@ class RemotePlayer : public Player

void setPeerId(session_t peer_id) { m_peer_id = peer_id; }

void on_successful_save();
void onSuccessfulSave();

private:
/*
Expand Down

0 comments on commit 4a7c97c

Please sign in to comment.