From: Ari Johnson <ari@cobramush.org>
Date: Wed, 27 Jun 2007 22:59:55 +0000 (+0000)
Subject: Removed unnecessary 'else'
X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=d41af53b060224d8c3ab695533ae64801df3a6aa;p=cobramush.git

Removed unnecessary 'else'
(cherry picked from commit 3306a92fc0d4da7ab66c71f78857ccd1da750c36)
---

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 */