diff options
author | Kahrl <kahrl@gmx.net> | 2011-11-20 20:16:15 +0100 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-12-01 12:06:39 +0200 |
commit | 2ca00fa585087f2097796d994d378708041a7194 (patch) | |
tree | b2aecfa7d40b17f3b5eeac3b27942767c2b2aeec /src/auth.h | |
parent | 1901158b3eacc95d945becea62ac28039618f460 (diff) | |
download | minetest-2ca00fa585087f2097796d994d378708041a7194.tar.gz minetest-2ca00fa585087f2097796d994d378708041a7194.tar.bz2 minetest-2ca00fa585087f2097796d994d378708041a7194.zip |
Fix processing of the default_password setting. It is now actually used as the plaintext password for new users. Also add /setpassword and /clearpassword server commands that can be used by admins with the PRIV_PASSWORD privilege, and update the /help message.
Diffstat (limited to 'src/auth.h')
-rw-r--r-- | src/auth.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/auth.h b/src/auth.h index 9939632a9..0ef94735f 100644 --- a/src/auth.h +++ b/src/auth.h @@ -41,6 +41,7 @@ const u64 PRIV_SHOUT = 32; // Can broadcast chat messages to all // players const u64 PRIV_BAN = 64; // Can ban players const u64 PRIV_GIVE = 128; // Can give stuff +const u64 PRIV_PASSWORD = 256; // Can set other players' passwords // Default privileges - these can be overriden for new players using the // config option "default_privs" - however, this value still applies for |