Removed unnecessary 'else'
authorAri Johnson <ari@cobramush.org>
Wed, 27 Jun 2007 22:59:55 +0000 (22:59 +0000)
committerAri Johnson <ari@cobramush.org>
Wed, 4 Apr 2007 05:49:46 +0000 (05:49 +0000)
(cherry picked from commit 3306a92fc0d4da7ab66c71f78857ccd1da750c36)

src/flags.c

index a855231bc299252d1feac072410b4687ace80c14..871d15543d0fe88dfddc25d728dbdc8b71a761b6 100644 (file)
@@ -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 */