mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
auth stuff is now saved only when modified
This commit is contained in:
parent
41f07328c8
commit
db36771c63
3 changed files with 25 additions and 2 deletions
|
@ -1728,7 +1728,8 @@ void Server::AsyncRunStep()
|
|||
ScopeProfiler sp(&g_profiler, "Server: saving stuff");
|
||||
|
||||
// Auth stuff
|
||||
m_authmanager.save();
|
||||
if(m_authmanager.isModified())
|
||||
m_authmanager.save();
|
||||
|
||||
// Map
|
||||
JMutexAutoLock lock(m_env_mutex);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue