projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2635267
)
Removed unnecessary 'else'
author
Ari Johnson
<ari@cobramush.org>
Wed, 27 Jun 2007 22:59:55 +0000
(22:59 +0000)
committer
Ari Johnson
<ari@cobramush.org>
Wed, 4 Apr 2007 05:49:46 +0000
(
05:49
+0000)
(cherry picked from commit
3306a92fc0d4da7ab66c71f78857ccd1da750c36
)
src/flags.c
patch
|
blob
|
history
diff --git
a/src/flags.c
b/src/flags.c
index a855231bc299252d1feac072410b4687ace80c14..871d15543d0fe88dfddc25d728dbdc8b71a761b6 100644
(file)
--- a/
src/flags.c
+++ b/
src/flags.c
@@
-1216,7
+1216,7
@@
can_set_flag(dbref player, dbref thing, FLAG *flagp, int negate)
/* Privilege, permissions work if a) they hav priv power & b) they control the thing */
if ((myperms & F_PRIVILEGE) && !(div_powover(player, player, "Privilege") && controls(player,thing)))
return 0;
-
else
if ((myperms & F_GOD) && !God(player))
+ if ((myperms & F_GOD) && !God(player))
return 0;
if (Director(thing) && is_flag(flagp, "GAGGED"))
return 0; /* can't gag directors/God */