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, 27 Jun 2007 22:59:55 +0000 (22:59 +0000)
src/flags.c

index c52a32d6f3adf17d8e9b3aa252dca79ef1efe02f..195f9fcc0351428d8d8e75334746d41778ee8625 100644 (file)
@@ -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 */