From 7e58b1e54e7ccbcb1dbba5556547cea670f68537 Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Wed, 21 Feb 2007 01:44:10 +0000 Subject: [PATCH] Players could set the 'internal' attribute flag --- src/attrib.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/attrib.c b/src/attrib.c index 287538a..8863353 100644 --- a/src/attrib.c +++ b/src/attrib.c @@ -292,6 +292,7 @@ string_to_atrflag(dbref player, char const *p) return -1; if (!div_powover(player, player, "Privilege") && (f & AF_PRIVILEGE)) return -1; + f &= ~AF_INTERNAL; return f; } @@ -317,6 +318,7 @@ string_to_atrflagsets(dbref player, char const *p, int *setbits, int *clrbits) return -1; if (!See_All(player) && ((*setbits & AF_PRIVILEGE) || (*clrbits & AF_PRIVILEGE))) return -1; + f &= ~AF_INTERNAL; return *setbits; } -- 2.30.2