From: Ari Johnson Date: Wed, 21 Feb 2007 01:44:10 +0000 (+0000) Subject: Players could set the 'internal' attribute flag X-Git-Tag: 0.73~147 X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=7e58b1e54e7ccbcb1dbba5556547cea670f68537;p=cobramush.git Players could set the 'internal' attribute flag --- 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; }