summaryrefslogtreecommitdiff
path: root/src/auth.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-12-02 12:18:19 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-12-02 12:18:19 +0200
commit932988af4650cdd844669d4cd238907409413db6 (patch)
treedaf1c4ad19fc2a95a141711b56f67a99be981c54 /src/auth.h
parent69bc9224dbfb5609af140d8ec5c791763e3f4295 (diff)
downloadminetest-932988af4650cdd844669d4cd238907409413db6.tar.gz
minetest-932988af4650cdd844669d4cd238907409413db6.tar.bz2
minetest-932988af4650cdd844669d4cd238907409413db6.zip
Rename "build" privilege to "interact" (backwards-compatibly, of course)
Diffstat (limited to 'src/auth.h')
-rw-r--r--src/auth.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/auth.h b/src/auth.h
index 0ef94735f..6f176931a 100644
--- a/src/auth.h
+++ b/src/auth.h
@@ -31,7 +31,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
// of the player, and define things they're allowed to do. See also
// the static methods Player::privsToString and stringToPrivs that
// convert these to human-readable form.
-const u64 PRIV_BUILD = 1; // Can build - i.e. modify the world
+const u64 PRIV_INTERACT = 1; // Can interact
const u64 PRIV_TELEPORT = 2; // Can teleport
const u64 PRIV_SETTIME = 4; // Can set the time
const u64 PRIV_PRIVS = 8; // Can grant and revoke privileges
@@ -46,7 +46,7 @@ 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
// players that existed before the privileges system was added.
-const u64 PRIV_DEFAULT = PRIV_BUILD|PRIV_SHOUT;
+const u64 PRIV_DEFAULT = PRIV_INTERACT|PRIV_SHOUT;
const u64 PRIV_ALL = 0x7FFFFFFFFFFFFFFFULL;
const u64 PRIV_INVALID = 0x8000000000000000ULL;