From d41af53b060224d8c3ab695533ae64801df3a6aa Mon Sep 17 00:00:00 2001 From: Ari Johnson Date: Wed, 27 Jun 2007 22:59:55 +0000 Subject: [PATCH] Removed unnecessary 'else' (cherry picked from commit 3306a92fc0d4da7ab66c71f78857ccd1da750c36) --- src/flags.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flags.c b/src/flags.c index c52a32d..195f9fc 100644 --- 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 */ -- 2.30.2