diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/database/database-files.cpp | 2 | ||||
-rw-r--r-- | src/database/database-postgresql.cpp | 2 | ||||
-rw-r--r-- | src/database/database-sqlite3.cpp | 2 | ||||
-rw-r--r-- | src/remoteplayer.cpp | 2 | ||||
-rw-r--r-- | src/remoteplayer.h | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/src/database/database-files.cpp b/src/database/database-files.cpp index b1c79c94a..04ff5230a 100644 --- a/src/database/database-files.cpp +++ b/src/database/database-files.cpp @@ -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) diff --git a/src/database/database-postgresql.cpp b/src/database/database-postgresql.cpp index f5f8e3adf..522580990 100644 --- a/src/database/database-postgresql.cpp +++ b/src/database/database-postgresql.cpp @@ -529,7 +529,7 @@ void PlayerDatabasePostgreSQL::savePlayer(RemotePlayer *player) } endSave(); - player->on_successful_save(); + player->onSuccessfulSave(); } bool PlayerDatabasePostgreSQL::loadPlayer(RemotePlayer *player, PlayerSAO *sao) diff --git a/src/database/database-sqlite3.cpp b/src/database/database-sqlite3.cpp index 7a79fb187..84d791403 100644 --- a/src/database/database-sqlite3.cpp +++ b/src/database/database-sqlite3.cpp @@ -531,7 +531,7 @@ void PlayerDatabaseSQLite3::savePlayer(RemotePlayer *player) endSave(); - player->on_successful_save(); + player->onSuccessfulSave(); } bool PlayerDatabaseSQLite3::loadPlayer(RemotePlayer *player, PlayerSAO *sao) diff --git a/src/remoteplayer.cpp b/src/remoteplayer.cpp index 18749d5ff..fa2200e94 100644 --- a/src/remoteplayer.cpp +++ b/src/remoteplayer.cpp @@ -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) diff --git a/src/remoteplayer.h b/src/remoteplayer.h index 212741df8..ea118e604 100644 --- a/src/remoteplayer.h +++ b/src/remoteplayer.h @@ -139,7 +139,7 @@ public: void setPeerId(session_t peer_id) { m_peer_id = peer_id; } - void on_successful_save(); + void onSuccessfulSave(); private: /* |