1
0
Fork 0
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:
Perttu Ahola 2011-05-31 00:23:39 +03:00
parent 41f07328c8
commit db36771c63
3 changed files with 25 additions and 2 deletions

View file

@ -89,10 +89,12 @@ public:
const std::string &password);
u64 getPrivs(const std::string &username);
void setPrivs(const std::string &username, u64 privs);
bool isModified();
private:
JMutex m_mutex;
std::string m_authfilepath;
core::map<std::string, AuthData> m_authdata;
bool m_modified;
};
#endif