aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLoïc Blot <loic.blot@unix-experience.fr>2019-01-04 11:33:04 +0100
committerLoïc Blot <loic.blot@unix-experience.fr>2019-01-04 11:33:04 +0100
commit4a7c97c5f6f5e110c587de1569c4ffe53f2c2ef4 (patch)
treeef838254a8135ea7e17a5a2ccf728d8d5313653b /src
parentc1d7dbfc38e8f48b42d957afad2696a8e56b740b (diff)
downloadminetest-4a7c97c5f6f5e110c587de1569c4ffe53f2c2ef4.tar.gz
minetest-4a7c97c5f6f5e110c587de1569c4ffe53f2c2ef4.tar.bz2
minetest-4a7c97c5f6f5e110c587de1569c4ffe53f2c2ef4.zip
Fix on_successful_save -> onSuccessfulSave
Diffstat (limited to 'src')
-rw-r--r--src/database/database-files.cpp2
-rw-r--r--src/database/database-postgresql.cpp2
-rw-r--r--src/database/database-sqlite3.cpp2
-rw-r--r--src/remoteplayer.cpp2
-rw-r--r--src/remoteplayer.h2
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:
/*