projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7dad95
)
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, 27 Jun 2007 22:59:55 +0000
(22:59 +0000)
src/flags.c
patch
|
blob
|
history
diff --git
a/src/flags.c
b/src/flags.c
index c52a32d6f3adf17d8e9b3aa252dca79ef1efe02f..195f9fcc0351428d8d8e75334746d41778ee8625 100644
(file)
--- a/
src/flags.c
+++ b/
src/flags.c
@@
-1217,7
+1217,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 */