From: Ari Johnson Date: Wed, 27 Jun 2007 22:59:55 +0000 (+0000) Subject: Removed unnecessary 'else' X-Git-Tag: 0.72p4~14 X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=95c86849ed6c80f697839898765f8b2d70d7e9c5;p=cobramush.git Removed unnecessary 'else' (cherry picked from commit 3306a92fc0d4da7ab66c71f78857ccd1da750c36) --- diff --git a/src/flags.c b/src/flags.c index a855231..871d155 100644 --- 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 */