From db36771c63040933d43bc12adc4ad840472004d3 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Tue, 31 May 2011 00:23:39 +0300 Subject: auth stuff is now saved only when modified --- src/auth.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/auth.h') diff --git a/src/auth.h b/src/auth.h index 472409d46..62dced2a3 100644 --- a/src/auth.h +++ b/src/auth.h @@ -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 m_authdata; + bool m_modified; }; #endif -- cgit v1.2.3